Commands Reference

This section provides a quick reference for commonly used commands when setting up, configuring, and developing Bank of Z.

Zowe CLI commands

Use Zowe CLI to connect to z/OS systems and support the Zowe CLI workflow.

Verify installation

zowe --version

Displays the installed Zowe CLI version.

Install the RSE API plug-in

zowe plugins install @zowe/rse-api-for-zowe-cli

Installs the RSE API plugin required by the Bank of Z setup workflow.

Create a z/OSMF profile

zowe profiles create zosmf-profile myprofile \
  --host your-zos-host \
  --port 443 \
  --user your-userid

Creates a z/OSMF connection profile.

Verify connectivity

zowe zosmf check status

Verifies connectivity to the configured z/OSMF instance.

List available profiles

zowe profiles list zosmf

Displays configured z/OSMF profiles.

Set a default profile

zowe profiles set-default zosmf myprofile

Sets the default z/OSMF profile.

Git commands

Use Git to manage source code changes and collaborate with other contributors.

Clone a repository

git clone <repository-url>

Creates a local copy of a repository.

Create a branch

git checkout -b feature/my-change

Creates and switches to a new branch.

View status

git status

Displays modified, staged, and untracked files.

Commit changes

git add .
git commit -m "Describe your change"

Stages and commits local changes.

Push changes

git push origin <branch-name>

Pushes committed changes to the remote repository.

Setup verification commands

Use these commands to verify that required tools are installed and available.

Node.js

node -v

Displays the installed Node.js version.

npm

npm -v

Displays the installed npm version.

Git

git --version

Displays the installed Git version.

Java

java -version

Displays the installed Java version.

USS Verification commands

Use these commands when validating the z/OS USS environment.

Verify git availability

which git
git --version

Verifies that Git is installed and available in the USS environment.

Verify DBB installation

ls $DBB_HOME/lib

Verifies that the DBB installation path is accessible.

Verify Java configuration

$JAVA_HOME/bin/java -version

Verifies that the configured Java runtime is available.

Workflow scripts

The following scripts are used by the Bank of Z automation workflows.

Script Purpose
setup-local.sh Initiates setup activities from the developer workstation
setup-common.sh Performs environment setup on z/OS USS
pipeline-local.sh Initiates build and deployment processing
pipeline-remote.sh Runs build and deployment activities on z/OS USS

Zowe CLI workflow commands

The Zowe CLI workflow is completed through a VS Code task or by running setup-local.sh directly.

Run the Setup Bank of Z Environment task from the Command Palette:

  1. Open the Command Palette.
  2. Run Tasks: Run Task.
  3. Select Setup Bank of Z Environment.

For detailed workflow instructions, see Zowe CLI Workflow.

GRUB workflow commands

The GRUB workflow synchronizes local changes to USS and runs the Bank of Z setup process.

See to GRUB Workflow for environment-specific configuration and run procedures.