CEMT

Read syntax diagramSkip visual syntax diagram>>-CEMT--master_term_cmd---------------------------------------><
 

CEMT executes a CICS master terminal command from REXX.

Operands

master_term_cmd
specifies a command string passed as input to the CEMT transaction program.

Return Codes

n
specifies the return code passed back by CICS if an error is detected
0
Normal return
-101
Invalid command

Any warning or error messages are placed in the variable CEMTTOUT. The results of the execution, if any, are placed in the variable CEMTEOUT. The maximum length returned in CEMTEOUT is approximately 28K bytes. Each variable has the following format:

The format of this data is not guaranteed from release to release, but it is the same as that displayed by CEMT.

Example

'CEMT SET PROGRAM(XYZ) NEWCOPY'

This example shows a CICS command passed to the CEMT transaction program for execution.