Migrating LINK commands that pass COMMAREAs

To migrate two programs which use a COMMAREA on a LINK command to exchange a structure, change the instructions shown in this table.

About this task

In these instructions, structure is the name of your defined data structure. The EXEC CICS GET CONTAINER and PUT CONTAINER commands use a 16–character field to identify the container. A helpful convention is to give the container the same name as the data structure that you are using, shown here as structure-name.

Note: In the COMMAREA example, PROG2, having put data in the COMMAREA, has onl y to issue a RETURN command to return the data to PROG1. In the channel example, to return data PROG2 must issue a PUT CONTAINER command before the RETURN.


dfhp3_ch65.html | Timestamp icon Last updated: Monday, 5 June 2017