Information

USERVARS—set user variables (used with Allocation)


The USERVARS function enables you to set variables that are not included in the set of variables that is provided by BMC AMI Storage.

The variables that are defined in USERVARS may be subsequently tested and used in filter lists and rule lists for other functions.

The following table describes the SET statement parameters for the USERVARS function that are located in member SMRLSTxx.

SET statement parameters for USERVARS function

Parameter

Description

USRCn=xxxxxxxx

Character field for a user-specified variable

The value of n can be 1-10 (for example USRC1, USRC2, and so on).

USRNy=nnnnnnnn

Numeric field for a user-specified variable

The value of y can be 1-10 (for example USRN1, USRN2, and so on). The value of n cannot exceed 214783647.


The following example shows how you can use USERVARS to set variables across functions.

Member

Command

Result

SMFUNCxx

SET   NAME=USERVARS ACTIVE=YES
      MSG=I SMF=I
      FLST=UV RLST=UV
      DESC='SET USER VARIABLES'

Defines and activates the function.

SMFLSTUV

SET   MODE=ACT
      INC JOB=TESTUSRV

Selects the job to test the variables in active mode.

SMRLSTUV5

SET   USRC1=USERVALU USRN1=100
      INC DSN=TEST.USER1

Specifies two variables to be set and tested later.

SET   USRC1=USERVAL2 USRN1=200
      INC DSN=TEST.USER2

Specifies two variables to be set and tested later.

SMFLSTDP

SET   MODE=ACT
      INC USERC1=USERVALU
      EXC USERN1>100

The variables established by the USERVARS function have been set and are used in the filter list for DASDPOOL.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Storage Allocation 8.1