I am doing a EXEC CICS LINK from a batch API using commarea. The data in the commarea is changed in the cics module which I call and then I do a RETURN. But when control is back to the calling batch API , I do not see the changed value in the commarea , I still have the actual value that I used when calling the cics module . Could some one advice if I am missing anything.
EXEC CICS LINK
LENGTH(LENGTH OF JSON-OBJECT)
DATALENGTH(LENGTH OF JSON-OBJECT)
JSON-OBJECT is just a copybook data where I am formatting a string in JSON format and then putting it into MQ.