Issuing commands

To issue commands from an extended MCS console, issue the MGCRE macro with the CONSID or CONSNAME parameter. Specify a 4-byte console ID on the CONSID parameter or a 2- through 8-byte console name on the CONSNAME parameter. MCSOPER returns the CONSID parameter when you activate the extended MCS console. CONSNAME must be the same value you specified on the NAME parameter of MCSOPER. This console ID or name identifies the console that will receive responses to the commands you issue with MGCRE.

NOT Programming Interface information
NOT Programming Interface information The CMDFLAG=TSO option allows TSO to use MGCRE instead of MGCR. CMDFLAG=TSO causes the CONSID value in the parameter list to be treated as a TSO identifier, instead of a console ID.
Note: This option allows TSO to use MGCRE instead of MGCR.
End of NOT Programming Interface information
End of NOT Programming Interface information

Specify a value for the CART parameter if you want to identify the response message for a particular command, or if you want to retrieve response messages with the MCSOPMSG macro based on CARTs or masks.

For more information on the MGCRE macro, see Issuing operator commands from a program (MGCRE macro).