This lesson leads you through the detailed steps to select and configure the resource adapter to connect to the IMS™ server.
DFSDDLT0 control statements
S11 1 1 1 1 TP 1 L GU E OK E Z0017 DATA SKS2 M2 SI1M3 SI1 WTO SEGMENT SI1 RECEIVED L GN E QD WTO END OF INPUT SEGMENTS L ISRT IW06OUT L Z0012 DATA *******M1SO1 E OK WTO SEGMENT SO1 INSERTTED L ISRT L Z0027 DATA ********M1SO2*********M2SO2 E OK WTO SEGMENT SO2 INSERTTED L ISRT L Z0048 DATA **********M1SO3***********M2SO3************M3SO3 E OK WTO SEGMENT SO3 INSERTTED WTO CURRENT PROGRAM STLDDLT2 TERMINATED L GU
The output message returned by this particular IMS application is a fixed size of 99 bytes and is represented by the COBOL 01 structure OUTPUT-MSG.
One way of developing this multi-segment application is to use the COBOL definition OUTPUT-MSG to define the output of the transaction. A second way is to create an output message for the output of the transaction. The code provided with this tutorial uses the second method, since it can also be used to build an application that processes a variable length output message. The COBOL definitions for the individual message segments will continue to be used to simplify access to the data of the individual segments
Connecting to the IMS server