zowe

Welcome to Zowe CLI!

Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.

For additional Zowe CLI documentation, visit https://docs.zowe.org

For Zowe CLI support, visit https://www.zowe.org

Options

Global Options


zowe › auth

Connect to Zowe API Mediation Layer authentication service and obtain a token, or disconnect from the authentication service and revoke the token.

The token provides authentication to services that support the API ML SSO (Single Sign-On) capability. When you log in, the token is stored in your default base profile until it expires. Base profiles store connection information shared by multiple services (e.g., z/OSMF), and are used if you do not supply connection information in a service profile. To take advantage of the API ML SSO capability, you should omit username and password in service profiles so that the token in the base profile is used.

zowe › auth › login

Log in to an authentication service.

zowe › auth › login › apiml

Log in to Zowe API Mediation Layer authentication service and obtain or update a token.

The token provides authentication to services that support the API ML SSO (Single Sign-On) capability. When you log in, the token is stored in your default base profile until it expires. Base profiles store connection information shared by multiple services (e.g., z/OSMF), and are used if you do not supply connection information in a service profile. To take advantage of the API ML SSO capability, you should omit username and password in service profiles so that the token in the base profile is used.

Usage

zowe auth login apiml [options]

Options

Base Connection Options

Profile Options

Examples

zowe › auth › logout

Log out of an authentication service.

zowe › auth › logout › apiml

Log out of the Zowe API Mediation Layer authentication service and revoke the token so it can no longer authenticate. Also remove the token from the default base profile, if it is stored on disk.

Usage

zowe auth logout apiml [options]

Base Connection Options

Profile Options

Examples


zowe › cics

Interact with IBM CICS programs and transactions.

zowe › cics › add-to-list

Add new resources (for example, CSD Groups to CSD Lists) to CICS through IBM CMCI.

zowe › cics › add-to-list › csdGroup

Add a CSD Group to a CICS CSD List.

Usage

zowe cics add-to-list csdGroup <name> <csdList> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define

Define new resources (for example, programs) to CICS through IBM CMCI.

zowe › cics › define › program

Define a new program to CICS.

Usage

zowe cics define program <programName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define › transaction

Define a new transaction to CICS.

Usage

zowe cics define transaction <transactionName> <programName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define › urimap-client

Define a new URIMAP of type client to CICS. This acts as an HTTP(S) client

Usage

zowe cics define urimap-client <urimapName> <csdGroup> [options]

Positional Arguments

Required Options

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define › urimap-pipeline

Define a new URIMAP of type pipeline to CICS. This processes incoming HTTP(S) requests

Usage

zowe cics define urimap-pipeline <urimapName> <csdGroup> [options]

Positional Arguments

Required Options

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define › urimap-server

Define a new URIMAP of type server to CICS. This acts as an HTTP(S) server

Usage

zowe cics define urimap-server <urimapName> <csdGroup> [options]

Positional Arguments

Required Options

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › define › webservice

Define a new web service to CICS.

Usage

zowe cics define webservice <webserviceName> <csdGroup> [options]

Positional Arguments

Required Options

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › delete

Delete resources (for example, programs) from CICS through IBM CMCI.

zowe › cics › delete › program

Delete a program from CICS.

Usage

zowe cics delete program <programName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › delete › transaction

Delete a transaction from CICS.

Usage

zowe cics delete transaction <transactionName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › delete › urimap

Delete a urimap from CICS.

Usage

zowe cics delete urimap <urimapName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › delete › webservice

Delete a web service from CICS.

Usage

zowe cics delete webservice <webserviceName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › disable

Disable resources (for example, urimaps) from CICS through IBM CMCI.

zowe › cics › disable › urimap

Disable a urimap from CICS.

Usage

zowe cics disable urimap <urimapName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › discard

Discard resources (for example, programs) from CICS through IBM CMCI.

zowe › cics › discard › program

Discard a program from CICS.

Usage

zowe cics discard program <programName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › discard › transaction

Discard a transaction from CICS.

Usage

zowe cics discard transaction <transactionName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › discard › urimap

Discard a urimap from CICS.

Usage

zowe cics discard urimap <urimapName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › enable

Enable resources (for example, urimaps) from CICS through IBM CMCI.

zowe › cics › enable › urimap

Enable a urimap from CICS.

Usage

zowe cics enable urimap <urimapName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › get

Get resources (for example, programs or transactions) from CICS through IBM CMCI.

zowe › cics › get › resource

Get resources (for example, programs or transactions) from CICS.

Usage

zowe cics get resource <resourceName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › cics › install

Install resources (for example, programs) to CICS through IBM CMCI.

zowe › cics › install › program

Install a program to CICS.

Usage

zowe cics install program <programName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › install › transaction

Install a transaction to CICS.

Usage

zowe cics install transaction <transactionName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › install › urimap

Install a urimap to CICS.

Usage

zowe cics install urimap <urimapName> <csdGroup> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › refresh

Refresh a program on CICS through IBM CMCI.

zowe › cics › refresh › program

Refresh a program on CICS.

Usage

zowe cics refresh program <programName> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples

zowe › cics › remove-from-list

Remove resources (for example, CSD Groups in CSD Lists) from CICS through IBM CMCI.

zowe › cics › remove-from-list › csdGroup

Remove a CSD Group from a CICS CSD List.

Usage

zowe cics remove-from-list csdGroup <name> <csdList> [options]

Positional Arguments

Options

Cics Connection Options

Profile Options

Base Connection Options

Examples


zowe › config

Manage JSON project and global configuration.

zowe › config › auto-init

Automatically generate a config from APIML.

Usage

zowe config auto-init [options]

Automatic Config Initialization Options

Options

APIML Connection Options

Profile Options

zowe › config › convert-profiles

Convert v1 profiles to a global zowe.config.json file.

Usage

zowe config convert-profiles [options]

Options

Examples

zowe › config › edit

Edit an existing config file in your system's default text editor.

In a graphical environment, the application associated with JSON files will be launched. In a command-line environment, vi will be launched. To override the command-line editor used, specify it with the --editor option.

Usage

zowe config edit [options]

Options

Examples

zowe › config › import

Import config files from another location on disk or from an Internet URL.

If the config `$schema` property points to a relative path, the schema will also be imported.

Usage

zowe config import <location> [options]

Positional Arguments

Options

Connection Options

Examples

zowe › config › init

Initialize config files. Defaults to initializing "zowe.config.json" in the current working directory unless otherwise specified.

Use "--user-config" to init "zowe.config.user.json". Use "--global-config" to initialize the configuration files in your home "~/.zowe" directory.

Use "--no-prompt" to skip prompting for values in a CI environment.

Usage

zowe config init [options]

Options

Examples

zowe › config › list

List config properties.

Usage

zowe config list [property] [options]

Positional Arguments

Options

Examples

zowe › config › profiles

Displays profile paths.

Usage

zowe config profiles [options]

Examples

zowe › config › report-env

Reports key items from your environment and identifies problem conditions.

Usage

zowe config report-env [options]

Examples

zowe › config › schema

Dumps the JSON schema for the config. The schema is dynamically created based on your available plugins. Direct the output of this command to a file and include in your config with '$schema' property to get editor completion.

Usage

zowe config schema [options]

Examples

zowe › config › secure

Prompt for secure configuration properties.

Usage

zowe config secure [options]

Options

Examples

zowe › config › set

Create or update a configuration property.

Usage

zowe config set <property> [value] [options]

Positional Arguments

Options

Examples

zowe › config › update-schemas

Update schema files by looking up the directory structure.

Schema files up in higher level directories will always be updated. To also update schema files down in lower level directories, specify the `--depth` flag.

Usage

zowe config update-schemas [options]

Options

Examples


zowe › daemon

Perform operations that control the daemon-mode functionality of the Zowe CLI. Daemon-mode runs the CLI command processor as a daemon to improve performance.

zowe › daemon › disable

Disable daemon-mode operation of the Zowe CLI.

Usage

zowe daemon disable [options]

Examples

zowe › daemon › enable

Enable daemon-mode operation of the Zowe CLI. You only need to run the enable command once after each new installation of the Zowe CLI. Afterwards, any zowe command will automatically start a daemon as needed.

Usage

zowe daemon enable [options]

Examples

zowe › daemon › restart

Restart the Zowe CLI daemon.

Usage

zowe daemon restart [options]

Examples


zowe › db2

Interact with IBM Db2 for z/OS

zowe › db2 › call

Call a Db2 stored procedure

zowe › db2 › call › procedure

Call a Db2 stored procedure. Specify the stored procedure name and optionally provide values.

Usage

zowe db2 call procedure <routine> [options]

Positional Arguments

Options

DB2 Connection Options

Profile Options

Base Connection Options

Examples

zowe › db2 › execute

Execute SQL queries against a Db2 region and retrieve the response. Enclose the query in quotes and escape any symbols that have a special meaning to the shell.

zowe › db2 › execute › sql

Execute one or multiple SQL statements separated by a semicolon from a command line or from a file.

Usage

zowe db2 execute sql [options]

Options

DB2 Connection Options

Profile Options

Base Connection Options

Examples

zowe › db2 › export

Export data from a Db2 table

zowe › db2 › export › table

Export a Db2 table to the stdout or a file.

Usage

zowe db2 export table <table> [options]

Positional Arguments

Options

DB2 Connection Options

Profile Options

Base Connection Options

Examples


zowe › dbm-db2

DBM-Db2 plug-in to interact with Db2 using the Broadcom Database Management Solutions for Db2 for z/OS.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

zowe › dbm-db2 › check

Perform DDL syntax checking.

zowe › dbm-db2 › check › ddl

Validate the syntax of input DDL and optionally verify Db2 object dependencies. Use this command to ensure that the syntax of the input DDL is valid. You can also optionally verify that the objects to be created do not exist on the Db2 subsystem and that the related objects that are required for successful creation of the objects exist on the Db2 subsystem or in the input DDL. You can generate input DDL using the 'zowe dbm generate ddl' command.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 check ddl <local-input-ddl-filename> [options]

Positional Arguments

Required Options

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › compare

Compare DDL with a Db2 subsystem and produce an update script to implement changes.

zowe › dbm-db2 › compare › ddl

Compare objects that are defined in a DDL file to objects that are defined on a Db2 subsystem and generate an update script to implement the necessary object changes. This command also generates a high-level change summary report and a parseable impact analysis report. You can execute the script that is generated from this command using the 'zowe dbm execute compare-script' command.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 compare ddl <local-input-ddl-filename> [options]

Positional Arguments

Required Options

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › deploy

Deploy DDL statements to a Db2 subsystem.

zowe › dbm-db2 › deploy › ddl

Deploy Db2 object changes on the target Db2 subsystem using an input file that contains the DDL. For example, an application developer has made changes to DDL in a local file and is ready to test the DDL changes. Use this command to deploy the changes to the test environment.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 deploy ddl <local-input-ddl-filename> [options]

Positional Arguments

Required Options

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › execute

Execute a script to implement Db2 object changes.

zowe › dbm-db2 › execute › compare-script

Execute the compare script that was generated with the 'zowe dbm compare ddl' command to implement the Db2 object changes on the Db2 subsystem specified within the script. This command also generates a recovery script to undo compare script changes.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 execute compare-script <local-input-compare-script-filename> [options]

Positional Arguments

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › execute › migration-script

Execute the migration script that was generated with the 'zowe dbm prepare migration' command to migrate Db2 objects (DDL) and table data from a source subsystem to a target subsystem. The source and target subsystem IDs are specified within the script.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 execute migration-script <local-input-migrate-script-filename> [options]

Positional Arguments

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › execute › script

Execute a Batch Processor script on a target subsystem. For example, use this command to execute a Batch Processor script or specifically to execute a recovery script to undo changes that were made by the 'zowe dbm execute compare-script' command. If execution of the script fails, you can execute it again using the 'script-section' or 'restart' options. You can edit the script and make changes before you execute or restart it.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 execute script <local-input-bp-script-filename> [options]

Positional Arguments

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › generate

Generate DDL statements for Db2 objects.

zowe › dbm-db2 › generate › ddl

Generate CREATE or DROP DDL statements for specified Db2 objects into an output DDL file. For example, use this command to generate CREATE TABLE definitions that you can then edit and use to update the table definition on a Db2 subsystem with the 'zowe dbm compare ddl' command.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 generate ddl [options]

Required Options

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples

zowe › dbm-db2 › prepare

Prepare DDL statements and a script to migrate Db2 objects.

zowe › dbm-db2 › prepare › migration

Generate a script to migrate Db2 object definitions (DDL) and data from a source subsystem to a target subsystem. You can specify which objects to include and apply changes to the objects as part of the migration. To execute the script, use the 'zowe dbm execute migration-script' command.

For details about command usage for automation, see DBM-Db2 samples at https://github.com/BroadcomMFD/dbm\-db2\-for\-zowe\-cli

Usage

zowe dbm-db2 prepare migration [options]

Required Options

Options

Profile Options

DBM-Db2 Connection Options

Base Connection Options

Examples


zowe › endevor

Endevor plug-in for listing Endevor environment information, working with elements and packages located in specified Endevor instance.

zowe › endevor › add

Add an Element into Endevor.

zowe › endevor › add › element

The add element command lets you add an Element to an Environment entry Stage in Endevor.

Usage

zowe endevor add element <element> [options]

Positional Arguments

endevor-location definition options

input sources options

options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › approve

Approve a Package in Endevor.

zowe › endevor › approve › package

The approve package command approves Package in Endevor for execution.

Usage

zowe endevor approve package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › backin

Backin a Package in Endevor.

zowe › endevor › backin › package

The backin package command reverses the backout action and returns the Package to a status of Executed.

Usage

zowe endevor backin package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › backout

Backout a Package in Endevor.

zowe › endevor › backout › package

The backout package command restores the executable and output modules of the Package to the status they were in before execution.

Usage

zowe endevor backout package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › cast

Cast a Package in Endevor.

zowe › endevor › cast › package

The cast package command prepares the Package for review and subsequent execution. Casting a Package freezes the contents of the Package and prevents further changes to the Package.

Usage

zowe endevor cast package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › check

Endevor Web Services Health Check.

zowe › endevor › check › instance

The check instance command triggers the web services health check for a given instance.

Usage

zowe endevor check instance [instance] [options]

Positional Arguments

endevor session definition options

endevor-location definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › commit

Commit a Package in Endevor.

zowe › endevor › commit › package

The commit package command commits a Package, which removes all backout/backin data while retaining Package event information.

Usage

zowe endevor commit package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › confirm

Confirm a manual conflict resolution inside an Endevor workspace file is complete.

zowe › endevor › confirm › resolution

Confirm a manual conflict resolution inside an Endevor workspace file is complete.

Usage

zowe endevor confirm resolution [workspace-file] [options]

Positional Arguments

Profile Options

Base Connection Options

Examples

zowe › endevor › create

Create a Package in Endevor.

zowe › endevor › create › package

The create package command lets you create a package in Endevor.

Usage

zowe endevor create package [package] [options]

Positional Arguments

input sources options

options

endevor-location definition options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › delete

Delete an Element or a Package in Endevor.

zowe › endevor › delete › element

The delete element command deletes an Element from the specified inventory location in Endevor.

Usage

zowe endevor delete element <element> [options]

Positional Arguments

endevor-location definition options

options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › delete › package

The delete package command lets you delete Packages of any status type in Endevor.

Usage

zowe endevor delete package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › deny

Deny a Package in Endevor.

zowe › endevor › deny › package

The deny package command changes the status of a Package to Denied.

Usage

zowe endevor deny package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › execute

Execute a Package in Endevor.

zowe › endevor › execute › package

The execute package command executes a Package that have a status of Approved or Execfailed.

Usage

zowe endevor execute package [package] [options]

Positional Arguments

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › generate

Generate an Element in Endevor.

zowe › endevor › generate › element

The generate element command executes the generate Processor for the current level of the Element.

Usage

zowe endevor generate element <element> [options]

Positional Arguments

endevor-location definition options

options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › initialize

Initialize a directory as an Endevor workspace.

zowe › endevor › initialize › workspace

Initialize current directory as an Endevor workspace.

Usage

zowe endevor initialize workspace [workspace-dir] [options]

Positional Arguments

Profile Options

Base Connection Options

Examples

zowe › endevor › list

List instances, elements, types, packages and inventory locations in Endevor.

zowe › endevor › list › code-page-config

The list code-page-config command lists the EBCDIC code page mapping rules used by Endevor Web Services

Usage

zowe endevor list code-page-config [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › defaults

List the contents of the main Endevor configuration table (C1DEFLTS)

Usage

zowe endevor list defaults [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › dialog

List the contents of the Endevor ISPF dialog defaults table (ENDIECFG)

Usage

zowe endevor list dialog [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › elements

The list elements command lists element information in Endevor

Usage

zowe endevor list elements [element] [options]

Positional Arguments

endevor-location definition options

options

endevor search text options

scl generation options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › environments

The list environments command lists environments in Endevor

Usage

zowe endevor list environments [environment] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › features

List the contents of the Endevor optional features table (ENCOPTBL)

Usage

zowe endevor list features [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › instances

The list instances command lists instances used by Endevor Web Services

Usage

zowe endevor list instances [options]

endevor session definition options

output customization options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › packages

The list packages command lists package information in Endevor

Usage

zowe endevor list packages [package] [options]

Positional Arguments

options

endevor-location definition options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › processor-groups

The list processor-groups command lists processor group information in Endevor

Usage

zowe endevor list processor-groups [proc-group] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › processor-symbols

The list processor-symbols command lists processor group symbol overrides information in Endevor

Usage

zowe endevor list processor-symbols [proc-group] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › stages

The list stages command lists stages in Endevor

Usage

zowe endevor list stages [stage] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › subsystems

The list subsystems command lists subsystem information in Endevor

Usage

zowe endevor list subsystems [subsystem] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › symbols

List the Endevor site symbols

Usage

zowe endevor list symbols [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › systems

The list systems command lists system information in Endevor

Usage

zowe endevor list systems [system] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › tasks

List asynchronous tasks submitted by this user

Usage

zowe endevor list tasks [task-id] [options]

Positional Arguments

asynchronous task options

endevor session definition options

endevor-location definition options

output customization options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › type-sequence

List the contents of the Endevor type sequence

Usage

zowe endevor list type-sequence [options]

endevor session definition options

endevor-location definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › list › types

The list types command lists type information in Endevor

Usage

zowe endevor list types [type] [options]

Positional Arguments

endevor-location definition options

options

endevor session definition options

output customization options

asynchronous task options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › merge

Merge Endevor elements from one Endevor location into another

zowe › endevor › merge › element

Merge Endevor elements from one Endevor location into another. Requires an initialized Endevor workspace to perform conflict resolution. Use "synchronize workspace" command afterwards to push the result back into Endevor.

Usage

zowe endevor merge element [element] [options]

Positional Arguments

endevor-location definition options

merge-location definition options

workspace options

options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › move

Move an Element in Endevor.

zowe › endevor › move › element

The move element command moves Elements between inventory locations along a map.

Usage

zowe endevor move element <element> [options]

Positional Arguments

endevor-location definition options

options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › print

Print an Element or a Component in Endevor.

zowe › endevor › print › components

The print component command prints selected component information about Element in Endevor.

Usage

zowe endevor print components <element> [options]

Positional Arguments

endevor-location definition options

options

output customization options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › print › element

The print element command prints selected information about Element in Endevor.

Usage

zowe endevor print element <element> [options]

Positional Arguments

endevor-location definition options

options

asynchronous task options

output customization options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › print › member

The print member command prints a member from a specified dataset.

Usage

zowe endevor print member <member> [options]

Positional Arguments

input sources options

options

asynchronous task options

output customization options

endevor session definition options

endevor-location definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › queryacm

Query Elements and information about their components in Endevor.

zowe › endevor › queryacm › components

Query components used by a specified Element with the Endevor ACM Query facility.

Usage

zowe endevor queryacm components <element> [options]

Positional Arguments

endevor-location definition options

options

output customization options

asynchronous task options

endevor session definition options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › reset

Reset a Package in Endevor.

zowe › endevor › reset › package

The reset package command lets you set the status of a Package back to In-edit so you can modify it.

Usage

zowe endevor reset package [package] [options]

Positional Arguments

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › retrieve

Retrieve an Element in Endevor.

zowe › endevor › retrieve › element

The retrieve element command retrieves an existing element in Endevor.

Usage

zowe endevor retrieve element <element> [options]

Positional Arguments

endevor-location definition options

options

output location options

output customization options

bulk action options

endevor session definition options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › retrieve › result

Retrieve the result of an asynchronous task

Usage

zowe endevor retrieve result [task-id] [options]

Positional Arguments

endevor session definition options

endevor-location definition options

output customization options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › endevor › signin

Signin an Element in Endevor.

zowe › endevor › signin › element

The signin element command signs in an existing element in Endevor.

Usage

zowe endevor signin element <element> [options]

Positional Arguments

endevor-location definition options

options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › submit

Submit a Package or a SCL file in Endevor.

zowe › endevor › submit › package

The submit package command submits a JCL job stream to execute one or more Packages.

Usage

zowe endevor submit package [package] [options]

Positional Arguments

input sources options

output location options

options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › submit › scl

The submit scl commands submits a SCL file to be executed.

Usage

zowe endevor submit scl [options]

options

input sources options

endevor-location definition options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › synchronize

Synchronize remote Endevor inventory with the local Endevor workspace.

zowe › endevor › synchronize › workspace

Synchronize a selected subset of remote Endevor inventory with a local Endevor workspace

Usage

zowe endevor synchronize workspace [workspace-dir] [options]

Positional Arguments

endevor-location definition options

options

workspace options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › transfer

Transfer an Element in Endevor.

zowe › endevor › transfer › element

The Transfer element command transfers Elements from one Endevor location to another.

Usage

zowe endevor transfer element <element> [options]

Positional Arguments

endevor-location definition options

output location options

options

asynchronous task options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › unsynchronize

Remove a synchronized Endevor inventory from a local Endevor workspace and delete any related metadata.

zowe › endevor › unsynchronize › workspace

Remove a selected subset of remote Endevor inventory from a local Endevor workspace

Usage

zowe endevor unsynchronize workspace [workspace-dir] [options]

Positional Arguments

endevor-location definition options

workspace options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › update

Update an Element or a Package in Endevor.

zowe › endevor › update › element

The update element command updates an Element in the entry Stage, thereby creating a new level for the Element in the entry Stage.

Usage

zowe endevor update element <element> [options]

Positional Arguments

input sources options

endevor-location definition options

options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › update › package

The update package command lets you update a package in Endevor.

Usage

zowe endevor update package [package] [options]

Positional Arguments

input sources options

options

endevor-location definition options

endevor session definition options

output customization options

Profile Options

Base Connection Options

Examples

zowe › endevor › view

View an Element or a Package SCL in Endevor.

zowe › endevor › view › element

The view element command views an existing element in Endevor.

Usage

zowe endevor view element <element> [options]

Positional Arguments

endevor-location definition options

options

output customization options

asynchronous task options

endevor session definition options

Profile Options

Base Connection Options

Examples

zowe › endevor › view › pkgscl

The view pkgscl command views the SCL of an existing package in Endevor.

Usage

zowe endevor view pkgscl [package] [options]

Positional Arguments

endevor-location definition options

output customization options

endevor session definition options

Profile Options

Base Connection Options

Examples


zowe › jclcheck

Validates the accuracy of job control language (JCL) and also helps identify execution-time errors, such as security violations and missing data sets that could cause jobs to fail.

zowe › jclcheck › check

Perform a check on JCL that is contained in an MVS data set or a local file.

zowe › jclcheck › check › data-set

Reads the specified input data set and invokes the JCLCheck service with the data set contents.

Usage

zowe jclcheck check data-set <dataSet> [options]

Positional Arguments

Options

JCLCheck Connection Options

Profile Options

Base Connection Options

Examples

zowe › jclcheck › check › local-file

Reads the contents of the local file specified and invokes the JCLCheck service with the JCL contents.

Usage

zowe jclcheck check local-file <localFile> [options]

Positional Arguments

Options

JCLCheck Connection Options

Profile Options

Base Connection Options

Examples


zowe › mat

The MAT Analyze plug-in for ZOWE CLI enables you to manage monitor profiles and get the measurement analysis data using Mainframe Application Tuner (MAT)

zowe › mat › monitor

Get monitor history and measurement analysis data from MAT.

zowe › mat › monitor › codeview

Get the CodeView measurement details.

zowe › mat › monitor › codeview › callerid

Get the CodeView CallerID details for the specific CSECT and module.

Usage

zowe mat monitor codeview callerid [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › codeview › csect

Get the CodeView measurement details in Csect mode.

Usage

zowe mat monitor codeview csect [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › codeview › histogram

Get the Histogram details for the measurement.

Usage

zowe mat monitor codeview histogram [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › codeview › module

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor codeview module [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › db2

Get the DB2 measurement details.

zowe › mat › monitor › db2 › db2view

Get the DB2View details for the measurement.

Usage

zowe mat monitor db2 db2view [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › db2 › sqlstmt

Get SQL details for the DB2 statement.

Usage

zowe mat monitor db2 sqlstmt [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › delayview

Get the DelayView measurement details.

zowe › mat › monitor › delayview › address

Get the delay address details for the measurement.

Usage

zowe mat monitor delayview address [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › delayview › delay

Get the delay details for the measurement.

Usage

zowe mat monitor delayview delay [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › history

Get list of all available measurements that are stored in the history of the specific monitor profile.

Usage

zowe mat monitor history [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › idms

Get the IDMS measurement details.

zowe › mat › monitor › idms › dml

Get the IDMS measurement details in DML mode.

Usage

zowe mat monitor idms dml [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › idms › module

Get the IDMS measurement details.

Usage

zowe mat monitor idms module [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › idms › task

Get the IDMS measurement details in Task mode.

Usage

zowe mat monitor idms task [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview

Get the IMS measurement details.

zowe › mat › monitor › imsview › dbdname

Get the IMS View DBDName details for the measurement.

Usage

zowe mat monitor imsview dbdname [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview › imsview

Get the IMS View details for the measurement.

Usage

zowe mat monitor imsview imsview [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview › psbname

Get the IMS View PSBName details for the measurement.

Usage

zowe mat monitor imsview psbname [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview › region

Get the IMS View Region details for the measurement.

Usage

zowe mat monitor imsview region [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview › ssa

Get the IMS View SSA details for the measurement.

Usage

zowe mat monitor imsview ssa [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › imsview › statement

Get the IMS View Statement details for the measurement.

Usage

zowe mat monitor imsview statement [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › overview

Get the overview details of the measurement.

Usage

zowe mat monitor overview [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview

Get the TranView measurement details.

zowe › mat › monitor › tranview › all

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor tranview all [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › callerid

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor tranview callerid [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › callstack

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor tranview callstack [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › csect

Get the CodeView measurement details in Csect mode.

Usage

zowe mat monitor tranview csect [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › delay

Get the delay details for the measurement.

Usage

zowe mat monitor tranview delay [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › module

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor tranview module [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › monitor › tranview › stat

Get the CodeView measurement details in Module mode.

Usage

zowe mat monitor tranview stat [options]

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › profile

Create, invoke, and list MAT monitor profiles.

zowe › mat › profile › create

Create a MAT monitor profile.

Usage

zowe mat profile create [options]

Required Options

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › profile › invoke

Invoke a MAT monitor profile to start measurement.

Usage

zowe mat profile invoke [options]

Required Options

Options

MAT Profile Options

Profile Options

Base Connection Options

Examples

zowe › mat › profile › list

Get the list of available monitor profiles.

Usage

zowe mat profile list [options]

MAT Profile Options

Profile Options

Base Connection Options


zowe › mat-pma-util

The MAT Detect plug-in for Zowe CLI enables you to detect performance issues and access performance data supplied by the Performance Management Assistant component (PMA) of Mainframe Application Tuner.

zowe › mat-pma-util › get

Get performance information using PMA utilities. You can get the current performance data of your jobs and check for the daily performance alerts.

zowe › mat-pma-util › get › alert

Check for alerts created in PMA and detect whether any of your jobs exceeds the average daily performance. If the threshold is exceeded, a PMA alert is triggered. We recommend that you include this command in your end-of-day build to trace all jobs that might cause performance degradation by code changes during the day.

Usage

zowe mat-pma-util get alert [options]

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › get › alert-by-job

Check whether the specified job exceeds the average daily performance. No record returned indicates that no performance degradation was detected for this job.

Usage

zowe mat-pma-util get alert-by-job <jobname> [options]

Positional Arguments

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › get › perf

Get the current performance data of a specific job using PMA. If the current measurement results for any of the measured parameters are higher than average values, an alert message is displayed.

Usage

zowe mat-pma-util get perf <jobname> [options]

Positional Arguments

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope

Get and define the PMA scope information. You can create and update the list of jobs that you want to include, or the list of programs to be excluded from the PMA scope of work.

zowe › mat-pma-util › scope › del-job

Delete a job from the list of inclusions in the PMA scope.

Usage

zowe mat-pma-util scope del-job <jobname> [options]

Positional Arguments

Options

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope › del-pgm

Delete a program from the list of exclusions from the PMA scope.

Usage

zowe mat-pma-util scope del-pgm <pgmname> [options]

Positional Arguments

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope › exl-pgm

Exclude a program from the PMA scope of work.

Usage

zowe mat-pma-util scope exl-pgm <pgmname> [options]

Positional Arguments

Options

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope › get-listj

Get the list of jobs included in the PMA scope.

Usage

zowe mat-pma-util scope get-listj [options]

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope › get-listp

Get the list of programs excluded from the PMA scope.

Usage

zowe mat-pma-util scope get-listp [options]

PMA Connection Options

Profile Options

Base Connection Options

Examples

zowe › mat-pma-util › scope › inc-job

Include a job in the PMA scope of work.

Usage

zowe mat-pma-util scope inc-job <jobname> [options]

Positional Arguments

Options

PMA Connection Options

Profile Options

Base Connection Options

Examples


zowe › mq

Interact with IBM MQ for z/OS.

zowe › mq › run

MQ Utilities

zowe › mq › run › mqsc

MQ Utilities

Usage

zowe mq run mqsc <qmgr> <cmd> [options]

Positional Arguments

MQ Connection Options

Profile Options

Base Connection Options

Examples


zowe › omspool

Interact with Output Management Spool™ for z/OS (OM Spool)

zowe › omspool › issue

Issue OM Spool commands.

zowe › omspool › issue › command

Issue commands to work with OM Spool.

Usage

zowe omspool issue command <command-text> [options]

Positional Arguments

OM SPOOL OPTIONS

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › omview

Access Output Management View™ for z/OS data and perform related tasks.

zowe › omview › download

Download OM View report data to local folder.

zowe › omview › download › report

Download report data.
Optionally convert text report to PDF.

Usage

zowe omview download report <repositoryId> <reportHandle> [fileTarget] [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › export

Export OM View text report file to local folder.

zowe › omview › export › report

Export text report to spreadsheet using a predefined export rule.

Usage

zowe omview export report <repositoryId> <reportHandle> <ruleId> [fileTarget] [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › get

Get information from OM View repository.

zowe › omview › get › user

Get user information from repository.

zowe › omview › get › user › settings

Get current user settings from repository.

Usage

zowe omview get user settings <repositoryId> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list

List OM View repository, report, and user information.

zowe › omview › list › export-rules

List export rules defined for a report.
Use the returned 'Identifier' in the 'export report' command to reference that rule.

Usage

zowe omview list export-rules <reportId> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list › report

List information about a specific report.

zowe › omview › list › report › index-names

List indexes for a a specific report.
Use the returned 'IndexNameHandle' to reference a report index.
Use the returned 'IndexNameHandle' in the 'list report index-values' command to retrieve the list of associated index values for that index.

Usage

zowe omview list report index-names <repositoryId> <reportHandle> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list › report › index-values

List index values for a report index.
Use the returned 'ReportHandle' to reference an index value in other commands.
For example, use 'ReportHandle' in the 'download report' command to download that corresponding view of the report.

Usage

zowe omview list report index-values <repositoryId> <reportHandle> <indexNameHandle> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list › report › logical-views

List logical views available for a specific report.
Use the returned 'ReportHandle' to reference a logical view in other commands.
For example, use 'ReportHandle' in the 'download report' command to download the logical view of that report.
Use the returned 'IndexNameHandle' in the 'list report index-values' command to retrieve the list of associated index values (if defined) for that index.

Usage

zowe omview list report logical-views <repositoryId> <reportHandle> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list › reports

List reports in a repository.
Use the returned 'ReportHandle' to reference a report in other commands.
For example, use the 'ReportHandle' in the 'download report' command to download that report.

Usage

zowe omview list reports <repositoryId> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › list › repositories

List repositories.
Use the returned 'Identifier' to reference a repository in other commands.
For example, use the 'Identifier' in the list reports' command to list reports in that repository.

Usage

zowe omview list repositories [options]

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › search

Search data in a OM View repository.

zowe › omview › search › index

Search cross-report index data in a repository.

zowe › omview › search › index › names

Search cross-report index names in a repository.
Use the returned 'IndexNameHandle' to reference a cross-report index name.
For example, use the 'IndexNameHandle' in the 'search index values' command to retrieve the list of index values for that cross-report index.

Usage

zowe omview search index names <repositoryId> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › search › index › reports

Search reports containing a cross-report index value in a repository.
Use the returned 'ReportHandle' to reference a view of the report.
For example, use the 'ReportHandle' in the 'download report' command to download that view of the report.

Usage

zowe omview search index reports <repositoryId> <indexNameHandle> <valueHandle> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › search › index › values

Search cross-report index values in a repository.
Use the returned 'IndexValueHandle' in the 'search index reports' command to retrieve the list of reports containing that index value.

Usage

zowe omview search index values <repositoryId> <indexNameHandle> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › set

Set information in OM View repository.

zowe › omview › set › user

Set configuration for current user in repository.

zowe › omview › set › user › distribution

Set distribution id for current user in repository.

Usage

zowe omview set user distribution <repositoryId> <distributionId> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options

zowe › omview › set › user › mode

Set mode for current user in repository.

Usage

zowe omview set user mode <repositoryId> <mode> [options]

Positional Arguments

Options

OM Web Viewer Connection Options

Profile Options

Base Connection Options


zowe › ops

Interact with OPS/MVS® for automation administration and resource management.

zowe › ops › create

Create a generic AOF event for API rules processing.

zowe › ops › create › event

Create a generic AOF event for API rules processing

Usage

zowe ops create event <eventCode> <eventText> [options]

Positional Arguments

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › disable

Disable an Automated Operations Facility rule.

zowe › ops › disable › rule

Disable the specified rule.

Usage

zowe ops disable rule <ruleset> <rule> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › enable

Enable an Automated Operations Facility rule.

zowe › ops › enable › rule

Enable the specified rule.

Usage

zowe ops enable rule <ruleset> <rule> [options]

Positional Arguments

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › execute

Execute an OPS/MVS REXX program or an operator command.

zowe › ops › execute › command

Execute the specified operator command.

Usage

zowe ops execute command <command> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › execute › rexx

Execute the specified OPS/MVS REXX program.

Usage

zowe ops execute rexx <program> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show

Display data associated with OPS/MVS automation elements, such as AOF rules and rulesets, and SSM resources, OPS log names, subsystems and RDF tables, or REST API server status.

zowe › ops › show › logname

Display a list of the OPSLOG lognames that are defined to the specified subsystem. The list also identifies the live OPSLOG. This command is only available when connected to the OPS/MVS REST API server.

Usage

zowe ops show logname [options]

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › resource

Display data associated with the specified SSM resource. Currently, only the current and desired states of the resource are displayed.

Usage

zowe ops show resource <resourcename> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › rule

Display data associated with the specified rule.

Usage

zowe ops show rule <ruleset> <rule> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › ruleset

Display data associated with one or all rulesets for a specified subsystem. This command is only available when connected to the OPS/MVS REST API server.

Usage

zowe ops show ruleset [options]

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › status

Display data associated with an OPS/MVS REST API server. This command is only available when connected to the OPS/MVS REST API server.

Usage

zowe ops show status [options]

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › subsystem

Display a list of the OPS/MVS subsystems that are running on the host z/OS LPAR. This command is only available when connected to the OPS/MVS REST API server.

Usage

zowe ops show subsystem [options]

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › show › table

Display a list of the RDF tables that are defined to the specified subsystem. This command is only available when connected to the OPS/MVS REST API server.

Usage

zowe ops show table [options]

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › start

Start a System State Manager resource.

zowe › ops › start › resource

Start the specified resource. The desired state of the resource is set to the appropriate UP state and SSM takes action to start the resource.

Usage

zowe ops start resource <resourcename> <tablename> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples

zowe › ops › stop

Stop a System State Manager resource.

zowe › ops › stop › resource

Stop the specified resource. The desired state of the resource is set to the appropriate DOWN state and SSM takes action to stop the resource.

Usage

zowe ops stop resource <resourcename> <tablename> [options]

Positional Arguments

Options

OPS/MVS Web Services / REST API connection options

Profile Options

Base Connection Options

Examples


zowe › plugins

Install and manage plug-ins.

zowe › plugins › install

Install plug-ins to an application.

Usage

zowe plugins install [plugin...] [options]

Positional Arguments

Options

Examples

zowe › plugins › list

List all plug-ins installed.

Usage

zowe plugins list [options]

Options

zowe › plugins › show-first-steps

Show first steps required to set up plug-in for use.

Usage

zowe plugins show-first-steps [plugin] [options]

Positional Arguments

Examples

zowe › plugins › uninstall

Uninstall plug-ins.

Usage

zowe plugins uninstall [plugin...] [options]

Positional Arguments

Examples

zowe › plugins › update

Update plug-ins.

Usage

zowe plugins update [plugin...] [options]

Positional Arguments

Options

Examples

zowe › plugins › validate

Validate a plug-in that has been installed.

Usage

zowe plugins validate [plugin] [options]

Positional Arguments

Options

Examples


zowe › provisioning

Perform z/OSMF provisioning tasks on Published Templates in the Service Catalog and Provisioned Instances in the Service Registry.

zowe › provisioning › delete

Deletes instance previously provisioned with z/OSMF cloud provisioning services.

zowe › provisioning › delete › instance

Deletes selected deprovisioned instance.

Usage

zowe provisioning delete instance <name> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › list

Lists z/OSMF provisioning information such as the provisioned instances from the registry, the provisioned instance details, the available provisioning templates and provisioning template details.

zowe › provisioning › list › catalog-templates

Lists the z/OSMF service catalog published templates.

Usage

zowe provisioning list catalog-templates [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › list › instance-info

List details about an instance provisioned with z/OSMF.

Usage

zowe provisioning list instance-info <name> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › list › instance-variables

List a set of variables and their values for a given name.

Usage

zowe provisioning list instance-variables <name> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › provisioning › list › registry-instances

List the provisioned instances from the z/OSMF software registry.

Usage

zowe provisioning list registry-instances [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › list › template-info

List details about a template published with z/OSMF Cloud Provisioning.

Usage

zowe provisioning list template-info <name> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › perform

Perform actions against instances provisioned with z/OSMF.

zowe › provisioning › perform › action

Perform actions on instances previously provisioned with z/OSMF cloud
provisioning services. To view the list of provisioned instances, use the
"zowe provisioning list registry-instances" command. Once you have
obtained an instance name you can use the "zowe provisioning list
instance-info <name>" command to view the available instance actions.

Usage

zowe provisioning perform action <name> <actionname> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › provisioning › provision

Using z/OSMF cloud provisioning services provision available templates.

zowe › provisioning › provision › template

Using z/OSMF cloud provisioning services, provision available templates.
You can view available templates using the zowe provisioning list catalog-templates command.

Usage

zowe provisioning provision template <name> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › sysview

Zowe CLI plugin for SYSVIEW

zowe › sysview › capture

Display output from a primary command stored in a SYSVIEW capture data set

Usage

zowe sysview capture <capture-dsn> <capture-command> [options]

Positional Arguments

data options

display options

response format options

sysview connection options

Profile Options

Base Connection Options

Examples

zowe › sysview › capture-immediate

Submit a capture request2

Usage

zowe sysview capture-immediate <capture-file> [options]

Positional Arguments

display options

data options

sysview connection options

Profile Options

Base Connection Options

Examples

zowe › sysview › check

Confirm that the SYSVIEW REST server is running on a specified system.

zowe › sysview › check › status

Confirm that the SYSVIEW REST server is running on a system specified. The command outputs properties of the z/OS system and the SYSVIEW REST server.

Usage

zowe sysview check status [options]

sysview connection options

Profile Options

Base Connection Options

Examples

zowe › sysview › display

Issue a SYSVIEW primary command and display output, including any messages

Usage

zowe sysview display <command-string> [options]

Positional Arguments

data options

display options

response format options

sysview connection options

Profile Options

Base Connection Options

Examples

zowe › sysview › execute

Issue a SYSVIEW function command and display any messages

Usage

zowe sysview execute <command-string> [options]

Positional Arguments

display options

data options

sysview connection options

Profile Options

Base Connection Options

Examples


zowe › zos-console

Interact with z/OSMF console services. Issue z/OS console commands and collect responses. z/OS console services establishes extended MCS (EMCS) consoles on behalf of the user, which are used to issue the commands and collect responses.

Important! Before you use commands in the zos-console command group, ensure that you understand the implications of issuing z/OS console commands in your environment.

zowe › zos-console › collect

z/OSMF console services provides a command response key upon successful issue of a console command. You can use this key to collect additional console message responses.

zowe › zos-console › collect › sync-responses

The z/OSMF console REST APIs return a "solicited response key" after successfully issuing a synchronous console command that produces solicited responses. You can use the "solicited response key"on the "sync-responses" command to collect any additional outstanding solicited responses from the console the command was issued.

In general, when issuing a z/OS console command, z/OS applications route responses to the originating console. The command response messages are referred to as "solicited command responses" (i.e. direct responses to the command issued). When issuing a z/OS console command using Zowe CLI, collection of all solicited command responses is attempted by default. However, there is no z/OS mechanism that indicates the total number of response messages that may be produced from a given command. Therefore, the Zowe CLI console APIs return a "solicited response key" that can be used to "follow-up" and collect any additional solicited command responses.

Usage

zowe zos-console collect sync-responses <responsekey> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-console › issue

Issue z/OS console commands and optionally collect responses.

zowe › zos-console › issue › command

Issue a z/OS console command and print command responses (known as "solicited command responses").

In general, when issuing a z/OS console command, z/OS applications route responses to the originating console. The command response messages are referred to as "solicited command responses" (i.e. direct responses to the command issued). When issuing a z/OS console command using Zowe CLI, collection of all solicited command responses is attempted by default. However, there is no z/OS mechanism that indicates the total number of response messages that may be produced from a given command. Therefore, the Zowe CLI console APIs return a "solicited response key" that can be used to "follow-up" and collect any additional solicited command responses.

Zowe CLI will issue "follow-up" API requests by default to collect any additional outstanding solicited command responses until a request returns no additional responses. At that time, Zowe CLI will attempt a final collection attempt. If no messages are present, the command is complete. If additional messages are present, the process is repeated. However, this does not guarantee that all messages produced in direct response (i.e. solicited) have been collected. The z/OS application may produce additional messages in direct response to your command at some point in the future. You can manually collect additional responses using the "command response key" OR specify additional processing options to, for example, delay collection attempts by a specified interval.

Usage

zowe zos-console issue command <commandtext> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-files

Manage z/OS data sets, create data sets, and more.

zowe › zos-files › compare

Compare the contents of z/OS data sets or USS files in your terminal (stdout).

zowe › zos-files › compare › data-set

Compare the contents of two z/OS data sets in your terminal (stdout).

Usage

zowe zos-files compare data-set <dataSetName1> <dataSetName2> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › compare › local-file-data-set

Compare the contents of a local file and a z/OS data set in your terminal (stdout).

Usage

zowe zos-files compare local-file-data-set <localFilePath> <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › compare › local-file-spool-dd

Compare the contents of a local file and a spool dd in your terminal (stdout).

Usage

zowe zos-files compare local-file-spool-dd <localFilePath> <spoolDescription> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › compare › local-file-uss-file

Compare the contents of a local file and a z/OS USS file in your terminal (stdout).

Usage

zowe zos-files compare local-file-uss-file <localFilePath> <ussFilePath> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › compare › spool-dd

Compare the contents of two spool dds in your terminal (stdout).

Usage

zowe zos-files compare spool-dd <spoolDescription1> <spoolDescription2> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › compare › uss-files

Compare the contents of two z/OS USS files in your terminal (stdout).

Usage

zowe zos-files compare uss-files <ussFilePath1> <ussFilePath2> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › copy

Copy a data set.

zowe › zos-files › copy › data-set

Copy a data set/partitioned data set to another data set/partitioned data set.

Usage

zowe zos-files copy data-set <fromDataSetName> <toDataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › copy › data-set-cross-lpar

Copy a data set to another data set on a specified LPAR.

Usage

zowe zos-files copy data-set-cross-lpar <fromDataSetName> <toDataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create

Create data sets.

zowe › zos-files › create › data-set

Create data sets based on the properties of an existing data set.

Usage

zowe zos-files create data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-binary

Create executable data sets.

Usage

zowe zos-files create data-set-binary <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-c

Create data sets for C code programming.

Usage

zowe zos-files create data-set-c <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-classic

Create classic data sets (JCL, HLASM, CBL, etc...).

Usage

zowe zos-files create data-set-classic <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-partitioned

Create partitioned data sets (PDS).

Usage

zowe zos-files create data-set-partitioned <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-sequential

Create physical sequential data sets (PS).

Usage

zowe zos-files create data-set-sequential <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › data-set-vsam

Create a VSAM cluster.

Usage

zowe zos-files create data-set-vsam <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › uss-directory

Create a UNIX directory.

Usage

zowe zos-files create uss-directory <ussPath> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › uss-file

Create a UNIX file.

Usage

zowe zos-files create uss-file <ussPath> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › create › zos-file-system

Create a z/OS file system.

Usage

zowe zos-files create zos-file-system <fileSystemName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › delete

Delete a data set or Unix System Services file.

zowe › zos-files › delete › data-set

Delete a data set or data set member permanently.

Usage

zowe zos-files delete data-set <dataSetName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › delete › data-set-vsam

Delete a VSAM cluster permanently.

Usage

zowe zos-files delete data-set-vsam <dataSetName> [options]

Positional Arguments

Options

Required Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › delete › migrated-data-set

Delete migrated data sets.

Usage

zowe zos-files delete migrated-data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › delete › uss-file

Delete a Unix Systems Services (USS) file or directory permanently.

Usage

zowe zos-files delete uss-file <fileName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › delete › zos-file-system

Delete a z/OS file system permanently.

Usage

zowe zos-files delete zos-file-system <fileSystemName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download

Download content from z/OS data sets and USS files to your PC.

zowe › zos-files › download › all-members

Download all members from a partitioned data set to a local folder.

Usage

zowe zos-files download all-members <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download › all-members-matching

Download all members that match a specific pattern from a partitioned data set to a local folder.

Usage

zowe zos-files download all-members-matching <dataSetName> <pattern> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download › data-set

Download content from a z/OS data set to a local file.

Usage

zowe zos-files download data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download › data-sets-matching

Download all data sets that match a DSLEVEL pattern (see help below). You can use several options to qualify which data sets will be skipped and how the downloaded files will be structured. Data sets that are neither physical sequential nor partitioned data sets (with members) will be excluded.

Usage

zowe zos-files download data-sets-matching <pattern> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download › uss-directory

Download content from a USS directory to a local directory on your PC.

Usage

zowe zos-files download uss-directory <ussDirName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › download › uss-file

Download content from a USS file to a local file on your PC.

Usage

zowe zos-files download uss-file <ussFileName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › edit

Edit the contents of a data set or USS file with your terminal and default editor.

zowe › zos-files › edit › data-set

Edit content from a z/OS data set with your terminal and default editor.

Usage

zowe zos-files edit data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › edit › uss-file

Edit content from a Unix System Services (USS) file with your terminal and default editor.

Usage

zowe zos-files edit uss-file <ussFilePath> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › invoke

Invoke z/OS utilities such as Access Method Services (AMS).

zowe › zos-files › invoke › ams-file

Submit control statements for execution by Access Method Services (IDCAMS). You can use IDCAMS to create VSAM data sets (CSI, ZFS, etc...), delete data sets, and more. You must format the control statements exactly as the IDCAMS utility expects. For more information about control statements, see the IBM publication 'z/OS DFSMS Access Method Services Commands'.

Usage

zowe zos-files invoke ams-file <controlStatementsFile> [options]

Positional Arguments

Zosmf Connection Options

Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › invoke › ams-statements

Submit control statements for execution by Access Method Services (IDCAMS). You can use IDCAMS to create VSAM data sets (CSI, ZFS, etc...), delete data sets, and more. You must format the control statements exactly as the IDCAMS utility expects. For more information about control statements, see the IBM publication 'z/OS DFSMS Access Method Services Commands'.

Usage

zowe zos-files invoke ams-statements <controlStatements> [options]

Positional Arguments

Zosmf Connection Options

Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › list

List data sets and data set members. Optionally, you can list their details and attributes.

zowe › zos-files › list › all-members

List all members of a partitioned data set. To view additional information about each member, use the --attributes option under the Options section of this help text.

Usage

zowe zos-files list all-members <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › list › data-set

List data sets that match a pattern in the data set name.

Usage

zowe zos-files list data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › list › file-system

List all mounted filesystems, or the specific filesystem mounted at a given path, or the filesystem with a given filesystem name.

Usage

zowe zos-files list file-system [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-files › list › uss-files

List USS files and directories in a UNIX file path.

Usage

zowe zos-files list uss-files <path> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-files › migrate

Migrate data sets.

zowe › zos-files › migrate › data-set

Migrate a data set.

Usage

zowe zos-files migrate data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › mount

Mount z/OS UNIX file systems, such as HFS, ZFS, and more. This connects you to USS file systems.

zowe › zos-files › mount › file-system

Mount a UNIX file system on a specified directory.

Usage

zowe zos-files mount file-system <fileSystemName> <mountPoint> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › recall

Recall migrated data sets.

zowe › zos-files › recall › data-set

Recall a migrated data set.

Usage

zowe zos-files recall data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › rename

Rename a data set or member.

zowe › zos-files › rename › data-set

Rename a data set.

Usage

zowe zos-files rename data-set <beforeDataSetName> <afterDataSetName> [options]

Positional Arguments

Zosmf Connection Options

Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › rename › data-set-member

Rename a data set member.

Usage

zowe zos-files rename data-set-member <dataSetName> <beforeMemberName> <afterMemberName> [options]

Positional Arguments

Zosmf Connection Options

Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › search

Search files for a search term.

zowe › zos-files › search › data-sets

Search all data sets and PDS members that match the data set name for a search term.

Usage

zowe zos-files search data-sets <pattern> <searchString> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › unmount

Unmount file systems, such as HFS, ZFS, and more. This disconnects you from USS file systems.

zowe › zos-files › unmount › file-system

Unmount a UNIX file system.

Usage

zowe zos-files unmount file-system <fileSystemName> [options]

Positional Arguments

Zosmf Connection Options

Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › upload

Upload the contents of a file to data sets.

zowe › zos-files › upload › dir-to-pds

Upload files from a local directory to a partitioned data set (PDS).

Usage

zowe zos-files upload dir-to-pds <inputdir> <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › upload › dir-to-uss

Upload a local directory to a USS directory.

An optional .zosattributes file in the source directory can be used to control file conversion and tagging.

An example .zosattributes file:
# pattern local-encoding remote-encoding
# Don't upload the node_modules directory
node_modules -
# Don't upload files that start with periods
.* -
# Upload jpg images in binary
*.jpg binary binary
# Convert CICS Node.js profiles to EBCDIC
*.profile ISO8859-1 EBCDIC

Lines starting with the ‘#’ character are comments. Each line can specify up to three positional attributes:

A .zosattributes file can either be placed in the top-level directory you want to upload, or its location can be specified by using the --attributes parameter. .zosattributes files that are placed in nested directories are ignored.

Usage

zowe zos-files upload dir-to-uss <inputDir> <USSDir> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › upload › file-to-data-set

Upload the contents of a file to a z/OS data set.

Usage

zowe zos-files upload file-to-data-set <inputfile> <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › upload › file-to-uss

Upload content to a USS file from local file.

Usage

zowe zos-files upload file-to-uss <inputfile> <USSFileName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › upload › stdin-to-data-set

Upload the content of a stdin to a z/OS data set.

Usage

zowe zos-files upload stdin-to-data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › view

View the contents of a data set or USS file on your terminal (stdout).

zowe › zos-files › view › data-set

View content from a z/OS data set on your terminal (stdout).

Usage

zowe zos-files view data-set <dataSetName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-files › view › uss-file

View content from a Unix System Services (USS) file on your terminal (stdout).

Usage

zowe zos-files view uss-file <file> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-ftp

Data set and job functionality via FTP. This functionality uses the open source zos-node-accessor package from IBM. Commands under this group require you to create a zftp profile before using them.
If you find this functionality useful, please consider setting up z/OSMF on your system to get improved stability and speed and more features (for example, issuing TSO and console commands) by using core Zowe CLI.

zowe › zos-ftp › allocate

Allocate a sequential or partitioned dataset

zowe › zos-ftp › allocate › data-set

Allocate a sequential dataset or partitioned dataset with '--dcb "PDSTYPE=PDS"'

Usage

zowe zos-ftp allocate data-set <datasetName> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › delete

Delete data sets, jobs, and USS files

zowe › zos-ftp › delete › data-set

Delete a data set

Usage

zowe zos-ftp delete data-set <dataSet> [options]

Positional Arguments

Required Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › delete › job

Cancel a job and purge its output. Note: this command will not work to delete TSU or STC type jobs.

Usage

zowe zos-ftp delete job <jobid> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › delete › uss-file

Delete a USS file

Usage

zowe zos-ftp delete uss-file <ussFile> [options]

Positional Arguments

Required Options

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › download

Download data set, job spool, and USS file content

zowe › zos-ftp › download › all-spool-by-jobid

Download all spool content for a job to files in a local directory by providing the job id

Usage

zowe zos-ftp download all-spool-by-jobid <jobid> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › download › data-set

Download the contents of a z/OS data set to a local file

Usage

zowe zos-ftp download data-set <dataSet> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › download › uss-file

Download the contents of a USS file to a local file

Usage

zowe zos-ftp download uss-file <ussFile> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › list

List data sets, data set members, uss files, jobs, spool files

zowe › zos-ftp › list › data-set

List all data sets that match a DSLEVEL pattern (see help below).
The following values can be used with the --response-format-filter (--rff) argument to display more data from the data sets:volume, unit, referred, ext, used, recfm, lrecl, blksz, dsorg, and dsname.

Usage

zowe zos-ftp list data-set <pattern> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › list › data-set-members

List all members of the specified PDS or PDSE data set.

Usage

zowe zos-ftp list data-set-members <dsname> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › list › jobs

List all data sets that match a DSLEVEL pattern (see help below).

Usage

zowe zos-ftp list jobs [options]

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › list › spool-files-by-jobid

Given a z/OS job JOBID, list the spool files (DDs) for a z/OS job on the JES/spool queues. The command does not pre-validate the JOBID.

Usage

zowe zos-ftp list spool-files-by-jobid <jobId> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › list › uss-files

List USS files and subdirectories in a directory. Optional file name pattern like "prefix*", "*suffix", or "prefix*suffix" can be specified at the end of directory. See EXAMPLES section.

The following values can be used with the --response-format-filter (--rff) argument to display more data from the data sets: name, size, owner, group, and permissions.

Usage

zowe zos-ftp list uss-files <directory> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › make

Make a USS directory

zowe › zos-ftp › make › uss-directory

Make a Unix System Services Directory

Usage

zowe zos-ftp make uss-directory <ussDirectory> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › rename

Rename data sets and USS files or directories

zowe › zos-ftp › rename › data-set

Rename a cataloged data set

Usage

zowe zos-ftp rename data-set <oldDataSet> <newDataSet> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › rename › uss-file

Rename a USS file or directory

Usage

zowe zos-ftp rename uss-file <olduss> <newuss> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › submit

Submit jobs from local files and data sets

zowe › zos-ftp › submit › data-set

Submit a job from a cataloged data set containing JCL. The JCL will be downloaded via FTP and then submitted.

Usage

zowe zos-ftp submit data-set <dataSet> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › submit › local-file

Submit a job from a local file containing JCL

Usage

zowe zos-ftp submit local-file <file> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › submit › stdin

Submit a job from JCL written to the standard input (stdin) of this process.

Usage

zowe zos-ftp submit stdin [options]

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › upload

Upload data set and USS content

zowe › zos-ftp › upload › file-to-data-set

Upload contents of a local file to a z/OS data set

Usage

zowe zos-ftp upload file-to-data-set <file> <dataSet> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › upload › file-to-uss-file

Upload contents of a local to a Unix System Services file.

Usage

zowe zos-ftp upload file-to-uss-file <file> <ussFile> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › upload › stdin-to-data-set

Upload contents piped to stdin to a z/OS data set

Usage

zowe zos-ftp upload stdin-to-data-set <dataSet> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › upload › stdin-to-uss-file

Upload from stdin to a Unix System Services File

Usage

zowe zos-ftp upload stdin-to-uss-file <ussFile> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › view

View data sets, job output, and USS content

zowe › zos-ftp › view › all-spool-by-jobid

View all spool content for a job by providing the job id

Usage

zowe zos-ftp view all-spool-by-jobid <jobid> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › view › data-set

View the contents of a z/OS data set

Usage

zowe zos-ftp view data-set <dataSet> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › view › job-status-by-jobid

View status details of a single z/OS job on spool/JES queues. The command does not prevalidate the JOBID.

Usage

zowe zos-ftp view job-status-by-jobid <jobId> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-ftp › view › spool-file-by-id

View the contents of a spool file from a z/OS job on spool/JES queues. The command does not pre-validate the JOBID or spool ID.

Usage

zowe zos-ftp view spool-file-by-id <jobid> <spoolfileid> [options]

Positional Arguments

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples

zowe › zos-ftp › view › uss-file

View the contents of a Unix System Services File

Usage

zowe zos-ftp view uss-file <ussFile> [options]

Positional Arguments

Options

FTP Connection options

TLS / Secure Connection options

Profile Options

Base Connection Options

Examples


zowe › zos-jobs

Manage z/OS jobs.

zowe › zos-jobs › cancel

Cancel a single job by job ID. This cancels the job if it is running or on input.

zowe › zos-jobs › cancel › job

Cancel a single job by job ID.

Usage

zowe zos-jobs cancel job <jobid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › delete

Delete a single job by job ID or delete multiple jobs in OUTPUT status.

zowe › zos-jobs › delete › job

Delete a single job by job ID.

Usage

zowe zos-jobs delete job <jobid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › delete › old-jobs

Delete (purge) jobs in OUTPUT status. Defaults to deleting all jobs owned by your user ID that are in output status.

Usage

zowe zos-jobs delete old-jobs [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › download

Download the output of a job as separate files.

zowe › zos-jobs › download › output

Download all job output to a local directory. Each spool DD will be downloaded to its own file in the directory.

Usage

zowe zos-jobs download output <jobid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › list

List z/OS jobs and list the spool files (DDs) for a z/OS job on the JES/spool queues.

zowe › zos-jobs › list › jobs

List jobs on JES spool/queues. By default, the command lists jobs owned (owner) by the user specified in your z/OSMF profile. The default for prefix is "*". The command does not prevalidate your user ID. The command surfaces errors verbatim from the z/OSMF Jobs REST endpoints.

Usage

zowe zos-jobs list jobs [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › list › spool-files-by-jobid

Given a z/OS job JOBID, list the spool files (DDs) for a z/OS job on the JES/spool queues. The command does not pre-validate the JOBID. The command presents errors verbatim from the z/OSMF Jobs REST endpoints.

Usage

zowe zos-jobs list spool-files-by-jobid <jobid> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › modify

Modify the job class or the hold status of a job.

zowe › zos-jobs › modify › job

Modify the job class or the hold status of a job.

Usage

zowe zos-jobs modify job <jobid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › search

Search the spool output of a job.

zowe › zos-jobs › search › job

Search the spool output of a job.

Usage

zowe zos-jobs search job <jobname> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › submit

Submit a job (JCL).

zowe › zos-jobs › submit › data-set

Submit a job (JCL) contained in a data set. The data set may be of type physical sequential or a PDS member. The command does not pre-validate the data set name. The command presents errors verbatim from the z/OSMF Jobs REST endpoints. For more information about z/OSMF Jobs API errors, see the z/OSMF Jobs API REST documentation.

Usage

zowe zos-jobs submit data-set <dataset> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › submit › local-file

Submit a job (JCL) contained in a local file. The command presents errors verbatim from the z/OSMF Jobs REST endpoints. For more information about z/OSMF Jobs API errors, see the z/OSMF Jobs API REST documentation.

Usage

zowe zos-jobs submit local-file <localFile> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › submit › stdin

Submit a job (JCL) passed to the command via the stdin stream. The command presents errors verbatim from the z/OSMF Jobs REST endpoints. For more information about z/OSMF Jobs API errors, see the z/OSMF Jobs API REST documentation.

Usage

zowe zos-jobs submit stdin [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › submit › uss-file

Submit a job (JCL) contained in a USS file. The command does not pre-validate the USS file path. The command presents errors verbatim from the z/OSMF Jobs REST endpoints. For more information about z/OSMF Jobs API errors, see the z/OSMF Jobs API REST documentation.

Usage

zowe zos-jobs submit uss-file <file> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › view

View details of z/OS jobs on spool/JES queues.

zowe › zos-jobs › view › all-spool-content

View the contents of each spool file from a z/OS job on spool/JES queues. The command does not pre-validate the JOBID. The command presents errors verbatim from the z/OSMF Jobs REST endpoints.

Usage

zowe zos-jobs view all-spool-content <jobid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-jobs › view › job-status-by-jobid

View status details of a single z/OS job on spool/JES queues. The command does not prevalidate the JOBID. The command presents errors verbatim from the z/OSMF Jobs REST endpoints (expect for "no jobs found").

Usage

zowe zos-jobs view job-status-by-jobid <jobid> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-jobs › view › spool-file-by-id

View the contents of a spool file from a z/OS job on spool/JES queues. The command does not pre-validate the JOBID or spool ID. The command presents errors verbatim from the z/OSMF Jobs REST endpoints.

Usage

zowe zos-jobs view spool-file-by-id <jobid> <spoolfileid> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-logs

Interact with z/OS logs.

zowe › zos-logs › list

List z/OS logs by invoking z/OSMF REST API.

zowe › zos-logs › list › logs

List z/OS operlog within a time range.

Use this operation to get the z/OS operations logs. It invokes z/OSMF REST API to retrieve logs.

Executing 'zowe zos-logs list logs' will by default return logs from current time and backwards to 10 minutes before.

Note: OPERLOG needs to be configured on z/OS server.

Usage

zowe zos-logs list logs [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-ssh

Issue z/OS USS commands remotely using an SSH session. Output from the commands is displayed on the local terminal.

zowe › zos-ssh › issue

Issue a z/OS USS command.

zowe › zos-ssh › issue › command

Issue a z/OS USS command

Note: The common CLI 'Base Connection Options' of token-type and token-value are not applicable to the ssh command, since the ssh service is not accessible through APIML.

Usage

zowe zos-ssh issue command <command> [options]

Positional Arguments

Options

z/OS Ssh Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-tso

Issue TSO commands and interact with TSO address spaces.

zowe › zos-tso › issue

Issue TSO commands.

zowe › zos-tso › issue › command

Creates a TSO address space, issues a TSO command through the newly created address space, waits for the READY prompt to print the response, and terminates the TSO address space. All response data are returned to the user up to (but not including) the TSO 'READY' prompt.

Usage

zowe zos-tso issue command <commandText> [options]

Positional Arguments

Options

TSO ADDRESS SPACE OPTIONS

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-tso › ping

Ping a TSO address space, from which you previously started and received a token (a.k.a 'servelet-key').

zowe › zos-tso › ping › address-space

Ping a TSO address space, from which you previously started and received a token (a.k.a 'servlet-key').

Usage

zowe zos-tso ping address-space <servletKey> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-tso › receive

Receive message from TSO address space app

zowe › zos-tso › receive › app

Receive message from TSO address space app,

Usage

zowe zos-tso receive app [options]

TSO ADDRESS SPACE OPTIONS

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

zowe › zos-tso › send

Send data to TSO and collect responses until the prompt is reached.

zowe › zos-tso › send › address-space

Send data to the TSO address space, from which you previously started and received a token (a.k.a 'servlet-key').

Usage

zowe zos-tso send address-space <servletKey> [options]

Positional Arguments

Required Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-tso › send › app

Send message to an application at a TSO address space,

Usage

zowe zos-tso send app [options]

TSO ADDRESS SPACE OPTIONS

Required Options

Zosmf Connection Options

Profile Options

Base Connection Options

zowe › zos-tso › start

Start TSO/E address space.

zowe › zos-tso › start › address-space

Start a TSO address space, from which you will receive a token (a.k.a 'servlet-key') for further address space interaction (e.g. termination).

Usage

zowe zos-tso start address-space [options]

TSO ADDRESS SPACE OPTIONS

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-tso › start › app

Start application at TSO address space,

Usage

zowe zos-tso start app [options]

TSO ADDRESS SPACE OPTIONS

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

zowe › zos-tso › stop

Stop TSO/E address space.

zowe › zos-tso › stop › address-space

Stop a TSO address space, from which you previously started and received a token (a.k.a 'servlet-key').

Usage

zowe zos-tso stop address-space <servletkey> [options]

Positional Arguments

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zos-workflows

Create and manage z/OSMF workflows on a z/OS system.

zowe › zos-workflows › archive

Archive workflow instance in z/OSMF.

zowe › zos-workflows › archive › active-workflow

Archive an active workflow instance in z/OSMF.

Usage

zowe zos-workflows archive active-workflow [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-workflows › create

Create a z/OSMF workflow on a z/OS system.

zowe › zos-workflows › create › workflow-from-data-set

Create a z/OSMF workflow on a z/OS system using a data set.

Usage

zowe zos-workflows create workflow-from-data-set <workflowName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-workflows › create › workflow-from-local-file

Create a z/OSMF workflow on a z/OS system using a local file.

Usage

zowe zos-workflows create workflow-from-local-file <workflowName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-workflows › create › workflow-from-uss-file

Create a workflow instance in z/OSMF using a USS file.

Usage

zowe zos-workflows create workflow-from-uss-file <workflowName> [options]

Positional Arguments

Required Options

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-workflows › delete

Delete an active workflow or an archived workflow from z/OSMF.

zowe › zos-workflows › delete › active-workflow

Delete an active workflow instance in z/OSMF.

Usage

zowe zos-workflows delete active-workflow [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-workflows › delete › archived-workflow

Delete an archived workflow from z/OSMF.

Usage

zowe zos-workflows delete archived-workflow [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-workflows › list

List the z/OSMF workflows for a system or a sysplex with filter options.

zowe › zos-workflows › list › active-workflow-details

Get the details of an active z/OSMF workflow.

Usage

zowe zos-workflows list active-workflow-details [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-workflows › list › active-workflows

List active workflow instance(s) in z/OSMF.
Multiple filters can be used together.
Omitting all options will list all workflows on the sysplex.

Usage

zowe zos-workflows list active-workflows [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

Examples

zowe › zos-workflows › list › archived-workflows

List the archived z/OSMF workflows for a system or sysplex.

Usage

zowe zos-workflows list archived-workflows [options]

Zosmf Connection Options

Profile Options

Base Connection Options

Response Format Options

zowe › zos-workflows › list › definition-file-details

Retrieve the contents of a z/OSMF workflow definition from a z/OS system.

Usage

zowe zos-workflows list definition-file-details <definitionFilePath> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-workflows › start

Start a z/OSMF workflow on a z/OS system.

zowe › zos-workflows › start › workflow-full

Will run workflow from the beginning to the end or to the first manual step.

Usage

zowe zos-workflows start workflow-full [options]

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zos-workflows › start › workflow-step

Will run given step of workflow instance plus following steps if specified by --perform-following-steps option.

Usage

zowe zos-workflows start workflow-step <stepName> [options]

Positional Arguments

Options

Zosmf Connection Options

Profile Options

Base Connection Options

Examples


zowe › zosmf

Retrieve and show the properties of a z/OSMF web server.

zowe › zosmf › check

Confirm that z/OSMF is running on a specified system and gather information about the z/OSMF server for diagnostic purposes.

zowe › zosmf › check › status

Confirm that z/OSMF is running on a system specified in your profile and gather information about the z/OSMF server for diagnostic purposes. The command outputs properties of the z/OSMF server such as version, hostname, and installed plug-ins.

Usage

zowe zosmf check status [options]

Zosmf Connection Options

Profile Options

Base Connection Options

Examples

zowe › zosmf › list

Obtain a list of systems that are defined to a z/OSMF instance.

zowe › zosmf › list › systems

Obtain a list of systems that are defined to a z/OSMF instance.

Usage

zowe zosmf list systems [options]

Zosmf Connection Options

Profile Options

Base Connection Options

Examples