Pseudo-conversational
A CICS program that ends after each screen. CICS starts the next step when the user replies.
Also written pseudo conversational, conversational
Why it matters. A person can take a minute to type. The program must not hold the machine's memory while it waits.
See it
EIBCALEN is the size of the data passed in. 0 means the first run.
Syntax
EXEC CICS RETURN TRANSID(tran) [COMMAREA(area) LENGTH(n)] END-EXEC EXEC CICS RETURN END-EXEC
- TRANSID
- The transaction CICS starts when the user replies.
- COMMAREA
- A data area handed to the next step.
- LENGTH
- How many bytes of it.
- CHANNEL
- Pass containers instead of a COMMAREA. This has no 32 KB limit.
- IMMEDIATE
- Start the next transaction at once, without waiting for the user.
Try it RETURN TRANSID
- 1
You're signed on as TELLER1. Open the command interpreter, where you can try one command at a time.
CICS CECI - 2
End the program, and say that BALN is the next transaction to run.
CECI RETURN TRANSID('BALN')
Remember
- A pseudo-conversational program ends after it sends each screen.
- RETURN TRANSID names the transaction CICS starts when the user replies. The terminal stays connected, but no task is waiting.
- To keep data between steps, pass a COMMAREA (just under 32 KB) or a channel with containers. EIBCALEN is zero the first time in.
The usual mistake
A program that waits inside the task for the user to type
It holds memory and a task for as long as the person takes. At a busy bank, that adds up.
End with RETURN TRANSID, and let CICS start the next step
On real z/OS
In MF/OS the bank screens hold a pending transfer on the map between key presses, not in a COMMAREA. The CECI screen here prints a short result, and the real CECI shows the full EIB and response fields.
Where can I practise Pseudo-conversational?
Right here, at ZedBank. You take a junior job at a simulated bank and use Pseudo-conversational in real work, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- CICSThe transaction manager that runs online mainframe applications, and the software behind a great many screens bank staff use.
- CICS transactionOne unit of online work in CICS: the whole exchange of receiving a request, doing the work, and sending a response.
- BMS mapThe definition of a CICS screen: where each field sits, how long it is, and how it is highlighted.
- CICS regionOne running copy of CICS, with its own programs, files and users. A site typically runs several.
- Online transaction processingHandling many small pieces of work in real time while someone waits: a card payment, a balance check, a seat booking.