CMD (Issue MVS command without response)
This command issues an MVS command without a response.
Command | Parameters |
---|---|
CMD | #MVS command |
The following table describes the parameters:
Parameter | Function | Notes |
---|---|---|
#MVS command | command, which can include blanks | The maximum length of the MVS command is 121 bytes. You must add a pound sign (#) prefix an MVS command to prevent the BBI-SS PAS from interpreting the MVS command as a BBI command; for example: IMFEXEC CMD #V To issue an MVS command that already uses a pound sign prefix, you must use 2 pound signs in the command text in IMFEXEC CMD; for example IMFEXEC CMD ##DT1B DIS THREAD |
Condition codes are listed in the following table:
Value | Description |
---|---|
0 | Command format always returns a zero-condition code. |
Example 1
This EXEC activates the VTAM terminal BB606B.
'IMFEXEC CMD #V NET,ACT,ID=BB606B'
CLIST example:
Example 2
MainView AutoOPERATOR issues the MVS command S TESTMPP to start a test message processing region.
The local variables IMFRC, IMFCSTKN, and IMFCASID should be inspected only if the command issued was an MVS START command.
If IMFRC is zero, IMFCASID contains the address space identification (ASID) number of the initiated address space, and IMFCSTKN contains the STOKEN of the started address space.
'IMFEXEC CMD #S TESTMPP'
CLIST example: