By using a temporary storage queue
By using an intrapartition TDQ
By using the Task Work Area
By using TCTUA
Through a file.
Data can be passed between CICS programs in three ways- COMMAREA, TRANSIENT DATA QUEUE & TEMPORARY STORAGE QUEUE.
Data can be passed to a called program using the COMMAREA option of the LINK or XCTL command in a calling program. The called program may alter the data content of COMMAREA and the changes will be available to the calling program after the RETURN command is issued in the called program.
This implies that the called program does not have to specify the COMMAREA option in the RETURN command.
If the COMMAREA is used in the calling program, the area must be defined in the Working Storage Section of the program (calling), whereas in the called program, the area must be defined as the first area in the Linkage Section, using reserved name DFHCOMMAREA.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!