1.2.2 Message Processing

DL/I is responsible for processing incoming messages and building outgoing messages against PCBs in IMS/TM. In Tuxedo ART for IMS, Tuxedo infrastructure is responsible for the message queue and message delivery, so the processing of incoming messages only involves the current request message. DLI library can retrieve the first and subsequent segments (FML fields) based on the request from any COBOL application. For building outgoing message, each PCB has an associated message buffer (FML) as the intermediate storage area, which holds the message data before the message is sent out. Detailed APIs for message processing are listed in the following table.

Table 1-9 Tuxedo ART for IMS DL/I Processes and Commands

Name Description
GU Used to retrieve the first segment from the message queue in IMS/TM environment.
GN Used to retrieve the subsequent segment from message queue in IMS/TM environment.
ISRT Used to add a segment into the message associated with the specified PCB in IMS/TM.
PURG Used to tell IMS/TM that the message is complete for non-express PCB.
CHNG Used to change the destination in PCB in IMS/TM.
CMD Sends/issues IMS commands, and retrieves the first segment of the response message.
GCMD Retrieves the second and subsequent segments of .the response message of a CMD command.
GUID A fake DL/I used to retrieve the full username under ARTIMPP server long username mode.