UNIX/Linux commands

Top  Previous  Next

On UNIX/Linux systems a set of command and alias is provided to grant access to XBM features from JCLs. All the scripts using XBM must include the xbmlib.

Korn/Bourne shell scripts must include:

. $XBHOME/lib/xbmlib.sh

C shell scripts must include:

source $XBMHOME/lib/xbmlic.csh

xbminit

Initializes the data exchange to XBM. It must be issued at the beginning of each script using XBM

Usage

xbminit

xbmstep

Defines a new step and comunicates XBM that the new step is running

Usage

xbmstep <step_name>

xbmdisplay

Displays text on XBM console log.

Usage

xbmdisplay <text>

xbmdr

Defines a logical resource.

Usage

xbmdr <resource_id>

xbmur

Undefines a logical resource

Usage

xbmur <resource_id>

xbmlock

Tries to locks the resources dynamically currently defined using xbmdr and xbmur. It holds the script execution until all the defined resources are available.

Usage

xbmlock

xbmset

Sets a Job variable and store the value in an environment variable.

Usage

xbmset <variable_name>=<variable_value>

xbmget

Gets the value for a Job variable and stores in an environment variable.

Usage

xbmget <variable_name>

xbmaccept

Asks operator input for the specified environment variable.

Usage

xbmaccept <variable_name>

xbmrc

Communicates the step return code to XBM.

Usage

xbmrc