Using Zowe CLI to issue Workload Automation commands
The Workload Automation plug-in for Zowe CLI lets you issue Workload Automation commands to remotely control your workload. With Workload Automation commands, you can monitor and modify jobs, jostreams and resources, as well as issue WAPL commands.
How the Workload Automation (WA) plug-in works
The WA plug-in:
- Defines a Workload Automation profile to manage the connection information, which is required to access the WA APIs.
- Provides you with a CLI interface with the relevant APIs on the Z connector server.
Software requirements
Before installing and using the WA plug-in, you must:
- Install Zowe CLI on your workstation. For details about this task, see Installing Zowe CLI.
- Ensure that the Z connector V9.5 Fix Pack 2 is installed and running in your environment.
- If you are using the Z controller V9.3, ensure that you
have installed the PTF UI69084.
If you are using the Z controller V9.5, ensure that you have installed the PTFs UI68881, UI68882, UI69085, and UI69193.
- Access the Workload Automation APIs through the API Mediation Layer (API ML), or connect the WA plug-in directly to the WA API. For more information, see Using Zowe API Mediation Layer to access the Workload Automation REST APIs
Installing the WA plug-in
To install the WA plug-in, download the
zowe-cli-hcl-wa-plugin.zip
file that is provided on
Flexera and install the WA plug-in by performing the following steps:- Unzip the zip file locally.
- From the directory where you unzipped the file, install the WA plug-in by issuing the following
command:
zowe plugins install .
Uninstalling the WA plug-in
To uninstall the WA plug-in, issue the following
command:
zowe plugins uninstall @zowe/zowe-cli-hcl-wa-plugin
After the uninstallation process completes successfully, the product no longer contains the WA
plug-in.For more details
For more detailed information about the WA plug-in, see the readme file that you find in the Info tab of Automation Hub. A video about using the Zowe CLI is available at this link.