Function
To issue a CEMT command in the target CICS® region.
Syntax

RUNCEMT
>>-RUNCEMT--+---------------------+----------------------------->
'-,CICS--(--applid--)-'
>--COMMAND--(--cemt_command_string--)--------------------------->
>--+-----------------------------+-----------------------------><
'-,NOTACTIVE(-+-CONTINUE--+-)-'
'-TERMINATE-'
Description
You can use the RUNCEMT command to issue a CEMT command in a CICS region.
The CICS BAC batch request utility writes up to 256 bytes of the
data returned by the CICS region from the CEMT command
to the print data set, CBKPRINT.
Parameters
- CICS(applid)
- Specifies the applid of the CICS region
to which the CICS BAC batch request utility is to send the CEMT command. If you omit this option, the batch request utility routes
the command to the default CICS region specified by the most
recent DEFAULT command.
- COMMAND(cemt_command_string)
- You can specify up to 256 characters to make up the CEMT command
string. Up to 256 bytes of data returned from the CEMT command are
written to the CBKPRINT data set. Enter the command string exactly
as you would enter it from a 3270 terminal. For example, RUNCEMT COMMAND(CEMT
I FILE(FILEA)).
- NOTACTIVE({CONTINUE | TERMINATE})
- Specifies the action you want the CICS BAC batch request utility
to take if the target CICS region is not available, or if
the CICS BAC startup procedure has not been run in the region, as follows:
- CONTINUE
- Specify CONTINUE if you want the CICS BAC batch request utility
to ignore the command and carry on processing the next command in
the input data set.
- TERMINATE
- Specify TERMINATE if you want the CICS BAC batch request utility
to terminate because of the failed command.