Transaction ID
A short code, up to four characters, that tells CICS which program to run.
Also written tranid, TRANID, transaction code
Why it matters. Every screen at the bank starts with a code. If you know the code, you can start the work.
Syntax
tran [data] CEMT INQUIRE TRANSACTION(tran)
Try it BALN
- 1
At the menu, start the transaction that shows account balances.
CICS BALN - 2
Back at the menu (PF3), type a code that does not exist: ABCD.
CICS ABCD
Remember
- A transaction ID is a code of up to four characters. CICS reads the first four characters you type as the code.
- Type it at the menu, and CICS runs the program tied to it.
- CEMT INQUIRE TRANSACTION lists the codes in a region.
The usual mistake
PAYPGM0
That is the name of the program, not the code. CICS reads the first four characters, PAYP, finds no such transaction and answers DFHAC2001.
PAY
On real z/OS
Real CICS finds the code in an installed TRANSACTION definition (made with CEDA or from a resource group). MF/OS has a fixed list. The unrecognised message DFHAC2001 follows IBM's wording.
Where can I practise Transaction ID?
Right here, at ZedBank. You take a junior job at a simulated bank and use Transaction ID 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.
- CICS regionOne running copy of CICS, with its own programs, files and users. A site typically runs several.
- CEMTThe CICS transaction used to see and change what is running in a region, enquiring on resources and acting on them.
- BMS mapThe definition of a CICS screen: where each field sits, how long it is, and how it is highlighted.