Skip to content

zowe cli - define zowe_home_path stops zowe mq from working #2585

@colinpaicemq

Description

@colinpaicemq

Describe the bug

The following command works - in that it gets to MQ - because it returns an MQ message
zowe --cert-key-file ./colinpaice.key.pem --cert-file ./colinpaice.pem --host 10.1.1.2 --port 9443 mq run mqsc CSQ9 DIS QMGR
Running MQSC command: 'DIS QMGR' against CSQ9

Unable to perform this operation due to the following problem.
MQ REST API Error:
error:

msgId:          MQWB0104E

Now
set the ZOWE_CLI_HOME

export ZOWE_CLI_HOME=.

and the zowe command stops working

zowe --cert-key-file ./colinpaice.key.pem --cert-file ./colinpaice.pem --host 10.1.1.2 --port 9443 mq run mqsc CSQ9 DIS QMGR
Unable to perform this operation due to the following problem.
Command failed due to improper syntax
Unknown group: --cert-key-file
Did you mean: provisioning del i?

Command entered: "--cert-key-file ./colinpaice.key.pem --cert-file ./colinpaice.pem --host 10.1.1.2 --port 9443 mq run mqsc CSQ9 DIS QMGR"
Use "zowe --help" to view groups, commands, and options.

Expected and actual results

It should work.

Describe your environment

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewThe issue wasn't triaged yet

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions