COMMAREA for Inter-Program Communication
Understand how COMMAREA passes data between CICS programs and preserves state across pseudo-conversational transaction turns.
COMMAREA (communication area) is CICS's original, still widely used mechanism for passing data both between programs in a single logical transaction and, critically, across separate task invocations of the same pseudo-conversational transaction. Because CICS working-storage doesn't naturally persist between a user's screen interactions, COMMAREA is the classic answer to 'how does a multi-screen CICS transaction remember what the user already entered on the previous screen?'
COMMAREA is a claim ticket you hand back to a coat check between visits — the attendant (CICS) holds onto your coat (the data) between your comings and goings, and hands it right back to you the next time you show up with the matching ticket, even though you left the building in between.