ADS - Introduction to Process Language
There are two types of modules that can be associated with a dialog using the CA ADS dialog compiler:
- Declaration module
- Process module
declaration moduleis used under the SQL Option to declare cursors and to issue global WHENEVER statements. The statements in a declaration module are
notexecuted. They are compiler directives used by the CA ADS dialog compiler at dialog compilation.
Declaration modules allow you to store declarations you have specified as global to your application.
Unlike the premap and response process modules, the declaration module cannot contain executable CA ADS commands. This module can contain only DECLARE CURSOR statements and WHENEVER directives.
A WHENEVER directive or DECLARE CURSOR statement is also valid in a premap or response process, but the scope of such a statement is not global.
For more information about the usage for WHENEVER and DECLARE CURSOR, see the
CA IDMS SQL Reference section. For further considerations regarding the declaration module, see the
CA IDMS SQL Programming section.
Since declaration modules do not contain executable code, they are not discussed in this section.
In CA ADS,
process modulesare defined to handle dialog-specific processing, such as data retrieval, data modifications, and data storage. Each process module consists of one or more
parametersthat qualify the commands.
Data referenced by CA ADS process commands must be predefined in the data dictionary.
For more information on defining data, see the
CA IDMS IDD Quick Reference section. For more information on defining data in subschemas, see the
CA IDMS Database Administrating section.