Mainframe (z/OS)

Connect Zowe CLI to your mainframe

Tell Zowe where your z/OSMF server is and log in once, so every zowe command works.

Fill these in once
  1. Create your Zowe settings
    Terminal
    zowe config init --global-config

    It asks a few questions. Your user ID and password are stored securely, not in plain text.

  2. Set your mainframe's address
    Terminal
    zowe config set profiles.base.properties.host mainframe.example.com --global-config
  3. Set the z/OSMF port
    Terminal
    zowe config set profiles.zosmf.properties.port 443 --global-config

    Ask your system programmers for the host and port if you're not sure.

Check it worked

  1. Check Zowe can reach z/OSMF
    Terminal
    zowe zosmf check status
  1. Create your Zowe settings
    Terminal · Ubuntu / Debian
    zowe config init --global-config

    It asks a few questions. Your user ID and password are stored securely, not in plain text.

  2. Set your mainframe's address
    Terminal · Ubuntu / Debian
    zowe config set profiles.base.properties.host mainframe.example.com --global-config
  3. Set the z/OSMF port
    Terminal · Ubuntu / Debian
    zowe config set profiles.zosmf.properties.port 443 --global-config

    Ask your system programmers for the host and port if you're not sure.

Check it worked

  1. Check Zowe can reach z/OSMF
    Terminal · Ubuntu / Debian
    zowe zosmf check status
  1. Create your Zowe settings
    PowerShell
    zowe config init --global-config

    It asks a few questions. Your user ID and password are stored securely, not in plain text.

  2. Set your mainframe's address
    PowerShell
    zowe config set profiles.base.properties.host mainframe.example.com --global-config
  3. Set the z/OSMF port
    PowerShell
    zowe config set profiles.zosmf.properties.port 443 --global-config

    Ask your system programmers for the host and port if you're not sure.

Check it worked

  1. Check Zowe can reach z/OSMF
    PowerShell
    zowe zosmf check status