CICSadvanced

Pseudo-Conversational Programming

Understand why CICS programs release control between user screen interactions instead of waiting in memory, and how this shapes state management.

Pseudo-conversational programming is arguably the single most important CICS design concept to understand deeply, and it's the topic most likely to separate candidates who've genuinely worked with CICS from those who've only read about it. The core idea: a CICS program does not sit in memory waiting for a user to finish reading a screen and typing their next input — it sends the screen, then completely terminates (via EXEC CICS RETURN), freeing all its resources, and only resumes as a brand-new task when the user's next input actually arrives.

Pseudo-conversational CICS is a call center where the agent hangs up completely after saying 'let me know when you're ready' — freeing that agent to help other callers — and only picks the conversation back up from the notes on the customer's file (COMMAREA) the moment that same customer calls back in.

Key Concepts

1
This matters enormously for scale: if every user's transaction held onto a task, storage, and program instance for the entire time they were reading a screen and thinking (potentially minutes), a busy CICS region would exhaust its resources after only a handful of concurrent users. By fully releasing control between interactions, CICS can serve thousands of users with a comparatively tiny number of concurrently active tasks, since most users are 'idle' from the system's perspective most of the time.
2
The consequence is that state cannot simply live in working-storage between screens the way it would in a genuinely conversational (always-resident) program — each new task invocation starts with fresh working-storage, and any information that must carry forward (what screen the user was on, partial data already entered) has to be explicitly passed forward via COMMAREA or channels/containers on EXEC CICS RETURN, then picked back up from DFHCOMMAREA when the next task begins.
3
Interviewers frequently ask you to design a simple multi-screen pseudo-conversational flow from scratch specifically to see whether you naturally reach for COMMAREA-based state-passing and checking EIBCALEN, versus incorrectly assuming state just persists — this single concept, done wrong, is one of the most common root causes of subtle CICS production bugs around lost or duplicated user input.