zowe › mq › run › mqsc🖨️ MQ Utilities Usage zowe mq run mqsc <qmgr> <cmd> [options] Positional Arguments qmgr (string) The queue manager to apply the command to cmd (string) The MQSC command MQ Connection Options --host | -H (string) The host name used to access the IBM MQ REST API. This might be the host name of the IBM MQ mqweb server, or the Zowe API Mediation Layer.. --port | -P (number) The port number used to access the IBM MQ REST API. This might be the port number of the IBM MQ mqweb server, or the Zowe API Mediation Layer. --user | -u (string) The mainframe (MQ) user name, which can be the same as your TSO login. --password | --pass | --pw (string) The mainframe (MQ) password, which can be the same as your TSO password. --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: false --protocol | -o (string) Specifies the MQ protocol (http or https). Default value: http Allowed values: http, https Profile Options --mq-profile | --mq-p (string) The name of a (mq) profile to load for this command execution. --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. Base Connection Options --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. --token-value | --tv (string) The value of the token to pass to the API. Examples The following sequence shows how to query a server-connection channel that is called NEWSVRCONN on an MQ queue manager - our example queue manager is called MQ99: zowe mq run mqsc MQ99 "DISPLAY CHANNEL(NEWSVRCONN)" Copy