InterviewSolution
| 1. |
What Are The Phases Involved In Ims Dc Program? |
|
Answer» Initialization is the clearing of application program working storage. Retrieve a transaction input message segment A Data Language/Interface (DL/I) message call (GU) to IMS TM is used to retrieve an input message segment from the IMS Queue Manager. Status CODE check The application checks the status code from IMS TM that indicates whether the input message was successfully retrieved or if no more input messages are available to process. Input message syntax check IMS TM performs a basic syntax check of the input message before delivery to the application program. The application program performs any additional data validation checks. Database processing Database processing is performed, preferably in one PHASE, which means that the retrieval of a database segment is immediately followed by its update. An EXAMPLE of database processing in more than one phase is to initially retrieve all the segments that the program requires and then perform a second retrieve and then update. Output processing The application builds an output response message and USES the DL/I message ISRT call to return the results to the originator of the transaction input request. Initialization is the clearing of application program working storage. Retrieve a transaction input message segment A Data Language/Interface (DL/I) message call (GU) to IMS TM is used to retrieve an input message segment from the IMS Queue Manager. Status code check The application checks the status code from IMS TM that indicates whether the input message was successfully retrieved or if no more input messages are available to process. Input message syntax check IMS TM performs a basic syntax check of the input message before delivery to the application program. The application program performs any additional data validation checks. Database processing Database processing is performed, preferably in one phase, which means that the retrieval of a database segment is immediately followed by its update. An example of database processing in more than one phase is to initially retrieve all the segments that the program requires and then perform a second retrieve and then update. Output processing The application builds an output response message and uses the DL/I message ISRT call to return the results to the originator of the transaction input request. |
|