CEMT
The CICS transaction for seeing and changing what is running in a region.
Also written master terminal
Why it matters. When something online stops working, CEMT is where you look first. It also lets you switch a transaction off for a while.
Syntax
CEMT INQUIRE resource[(id)] CEMT SET resource(id) attribute CEMT SET PROGRAM(name) NEWCOPY
- INQUIRE (I)
- Look at a resource. Short forms such as INQ work.
- SET (S)
- Change a resource.
- TRANSACTION
- A transaction ID in the region.
- PROGRAM
- A program. NEWCOPY loads a fresh copy after a change.
- FILE
- A file, which can be opened, closed, enabled or disabled.
- ENABLED / DISABLED
- Allow or stop a transaction from running.
Try it CEMT
- 1
You're signed on as SYSADM. Ask the region about the transaction BALN.
CICS CEMT INQUIRE TRANSACTION(BALN) - 2
Switch BALN off. The branch will not use it while you check something.
CICS CEMT SET TRANSACTION(BALN) DISABLED - 3
Back at the menu, try the transaction BALN.
CICS BALN
Remember
- CEMT INQUIRE looks. CEMT SET changes.
- Ena means enabled and Dis means disabled.
- CEMT SET needs permission. On real CICS that is RACF command security on the resource, not a general attribute.
The usual mistake
CEMT SET TRANSACTION(BALN) DISABLED, signed on as TELLER1
Changing a resource needs permission, and TELLER1 doesn't have it. CICS refuses, and nothing changes.
Sign on as a user ID with the authority, then set it
On real z/OS
MF/OS lists a smaller set of resources, and its screens can't be overtyped, as the real CEMT list can. Real CICS checks a SET with RACF command security (the CCICSCMD class or the one your XCMD setting names), where MF/OS looks for SPECIAL or OPERATIONS. Its refusal text is MF/OS's own. The disabled message DFHAC2008 follows IBM's wording.
Where can I practise CEMT?
Right here, at ZedBank. You take a junior job at a simulated bank and use CEMT 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 regionOne running copy of CICS, with its own programs, files and users. A site typically runs several.
- Transaction IDA four-character code that tells CICS which program to run, typed on the screen or triggered by a key.
- CICS transactionOne unit of online work in CICS: the whole exchange of receiving a request, doing the work, and sending a response.
- Load moduleThe runnable form of a program, stored in a library, which JCL executes by name.