Previous Topic: Introduction to Process LanguageNext Topic: Process Modules


Overview

There are two types of modules that can be associated with a dialog using the CA ADS dialog compiler:

Declaration Module

A declaration module is used under the SQL Option to declare cursors and to issue global WHENEVER statements. The statements in a declaration module are not executed. 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.

Note: For more information about the usage for WHENEVER and DECLARE CURSOR, see the CA IDMS SQL Reference Guide. For further considerations regarding the declaration module, see the CA IDMS SQL Programming Guide.

Since declaration modules do not contain executable code, they are not discussed in this chapter.

Process Modules

In CA ADS, process modules are defined to handle dialog-specific processing, such as data retrieval, data modifications, and data storage. Each process module consists of one or more process commands and parameters that qualify the commands.

Data referenced by CA ADS process commands must be predefined in the data dictionary.

Note: For more information on defining data, see the CA IDMS IDD Quick Reference Guide. For more information on defining data in subschemas, see the CA IDMS Database Administration Guide.

More information:

Data Types