Newer version of documentation BMC provides a newer version of the documentation for this version of the product. As a result, BMC no longer accepts comments in this space.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see bao8301.

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

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;

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.

/*REXX*/
"IMFEXEC CMD #V NET,ACT,ID=BB606B"

CLIST example:

IMFEXEC CMD #V NET,ACT,ID=BB606B

Example 2

BMC AMI Ops Automation 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.

/*REXX*/
"IMFEXEC CMD #S TESTMPP"

CLIST example:

IMFEXEC CMD #S TESTMPP

Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*