Process Additional Attributes Option
When you select the additional attributes option from a Processes screen, a process Additional Attributes overlay is displayed similar to the sample shown in Figure 3-3-3 for a subroutine process. It illustrates the fields applicable for all processes, although some processes have still more attributes.
Figure 3-3-3. Sample Process Additional Attributes Overlay
The sample process Additional Attributes overlay contains the following fields common to all processes:
Executable Module displays the name of the executable module (EM) that is automatically generated by APPX. APPX derives the file name from the date and time the currently selected process was added. The name consists of a unique string of eight alphanumeric characters and cannot be changed. If APPX finds it necessary to recreate the EM, the new EM retains the same file name. See Saving Executable Modules in Chapter 3-2 for more information.
Cache Priority, represented by two numeric characters, establishes the likelihood that the process will remain in memory after execution, relative to other processes that the user has also completed executing. A process with a cache priority of 99 is most likely to remain in memory. A process with a cache priority of 1 is least likely to remain in memory. A cache priority of 0 indicates that the process is never cached. The default is 50.
User Cancel OK? contains either “yes” or “no” and determines whether or not a user can press the cancel option key to stop the execution of this process. The default is ‘yes”. You can conditionally control the user’s ability to select the cancel option with statements and the predefined field CANCEL OK. You can toggle between “yes” and “no” by clicking on the checkbox.
Description is incorporated in the message that displays on the screen when the process is compiling. It is used to communicate with users since it provides a more descriptive and easily understood alternative to Process Name, which is the default if this field is left blank.
Commit Mode controls the commit mode for a process and can be selected from a drop-down list of available options. Commit Mode determines those points in time when APPX will commit changes made to the tables stored within an RDBMS. It is only applicable in conjunction with an RDBMS; it has no effect with APPXIO. Also, not all File Managers support this feature. Although initially set here for the process, it can be added or overridden by use of predefined field COMMIT MODE. The following options are available:
COMPATIBLE .. Changes are committed as soon as all locks are freed. This provides maximum compatibility between APPXIO files and RDBMS tables.
AUTOCOMMIT
. APPX will commit each modification as it is made.
*This value will be implemented in a future release.
PCF CYCLE ...... APPX will commit modifications as each PCF record is processed.
END .................. APPX will only commit modifications at the end of the process family.
MANUAL .......... APPX will not automatically commit changes. You must use the COMMIT statement to do so.