The Application Manager, which is generated during installation of each load module, acts as an executive to control the flow between procedure steps, to support terminal input and output, and to maintain execution context. The types of application managers are as follows:
TIRMAIN is CA Gen supplied runtime module that is the entry point for all CA Gen load modules. TIRMAIN calls the appropriate Application Manager, which then takes over control of the dialog flow (links and transfers) between procedure steps.
The Application Manager maintains execution context in a database called the Profile Manager. To accomplish this, the Application Manager uses information from procedure step import and export views, screen definitions, dialog flow, and load module packaging.
For character-based (block mode) applications, the Application Manager contains cross-reference tables of procedure steps, exit states, and transaction codes for the procedure steps packaged in the load module. The procedure steps to which the load module procedure steps link or transfer are also cross-referenced. The Application Manager uses all of this information to select the target procedure step within its load module. If the target procedure step is in another load module, the information is used to select the transaction code that invokes the load module containing the target procedure step. The CA Gen provided runtime routine TIRMSG is called to invoke the other load module.
When a load module is executed, the Application Manager determines the procedure step to execute and populates the import view of the procedure step from screen input, of data passed from another procedure step or data taken from the Profile Manager. This allows each procedure step to reference data in its input view without having to perform the processing required to gather it.
Note: Window Managers do not use the names TIRMAIN and TIRMSG, but the concepts for GUI applications are the same.
|
Copyright © 2013 CA.
All rights reserved.
|
|