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.
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).