zowe › profiles › create › mq-profile
An MQREST profile is required to issue commands in the MQ command group that interacts with MQSC. The mq profile contains your host, port, user name, and password for the IBM MQ System Console interface
Usage
zowe profiles create mq-profile <profileName> [options]
Positional Arguments
profileName
(string)- Specifies the name of the new mq profile. You can load this profile by using the name on commands that support the "--mq-profile" option.
Required Options
--host
|-H
(string)- The MQ Rest server host name
--port
|-P
(number)- Port number of your MQ REST API server
--user
|-u
(string)- User name to authenticate to your MQ REST API server
--password
|-p
(string)- Password to authenticate to your MQ REST API server
MQ Connection Options
--reject-unauthorized
|--ru
(boolean)- Reject self-signed certificates.
--protocol
|-o
(string)Specifies the MQ protocol (http or https).
Default value: http
Allowed values: http, https
Options
--overwrite
|--ow
(boolean)- Overwrite the mq profile when a profile of the same name exists.
Examples
Create an MQ profile named 'mqprofile' to connect to MQ at host zos123 and port 1234:
zowe profiles create mq-profile mq --host mq123 --port 1234 --user ibmuser --password myp4ss