Testing EXECs with IMFEXEC CNTL NOCMD statements
- IMFEXEC CMD
- IMFEXEC CICSTRAN
- IMFEXEC IMSTRAN
- IMFEXEC SUBMIT
- IMFEXEC RES EXIT
- IMFEXEC RES MCMD
- IMFEXEC RES VMCMD
See Using-the-IMFEXEC-statements for more information about these statements.
For example, you might use the IMFEXEC CMD to issue an MVS command, such as activate a VTAM terminal, in an EXEC. You can execute the EXEC and choose not to issue the MVS command by including the IMFEXEC statement in the EXEC, prior to the IMFEXEC CMD statement.
- REXX EXEC example— IMFEXEC CNTL NOCMD
- CLIST example— IMFEXEC CNTL NOCMD
You can track the results of the EXEC by examining the BBI-SS PAS Journal, which indicates that the MVS command was not executed because of the IMFEXEC CNTL NOCMD statement.
Example
The following is a short example of how you might use IMFEXEC CNTL NOCMD.
REXX EXEC example:
"IMFEXEC CMD #V NET,ACT,ID=BB010A"
CLIST example:
IMFEXEC CMD #V NET,ACT,ID=BB010A
The MVS command to vary VTAM terminal BB010A will not be executed when this EXEC is scheduled. In the BBI-SS PAS Journal, you will see a message that looks like the following example:
NET,ACT,ID=BB010A