Tuesday, December 6, 2011

CICS : Linked program updates commarea

When you LINK to a subprogram, a pointer to the COMMAREA specified on the LINK will be passed to the subprogram, and updates made by the subprogram will actually updating the original storage area in the calling program. 


If you do not want the subprogram to update the COMMAREA, then you will have to move the COMMAREA to a working storage structure and reference the fields from that working storage structure in the subprogram.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.