How to pass data among CICS programs?
How to pass data among CICS programs?
- Data is passed among CICS programs through COMMAREA.
- COMMAREA option is used along with LINK or XCTL commands.
- Data of COMMAREA can be altered by the called program and the changes are affected to the calling program after RETURN command is issued.
- The area must be defined in the Working Storage Section of the calling program.
- The area must be defined in the first area in the Linkage Section by using the reserved name DFHCOMMAREA.