Information
Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Recovery Manager for Db2 13.1.

IBM DSNUTILB symbolic variables


(SPE2104)

The following DSNUTILB symbolic variables (including substrings) are supported when the LISTDEF option is set to YES. To specify a substring, use the form &variable(start) or &variable (start, length).

In these form:

  • Start specifies byte location within the variable.
  • Length specifies the length of the substring.

Variable

Result

&JOBNAME

Short name: &JO 

z/OS job name

&STEPNAME

Short name: &ST   

z/OS step name

&USERID

Short name: &US 

User ID of the person running the job

&UTILID

Short name: &UT  

Utility ID truncated to 8 characters

&SSID

Short name: &SS 

Subsystem ID for non-data sharing or the group attachment name for data sharing

&ICTYPE

Short name: &IC     

Single-character image copy type

&UTILNAME

Short name: &UN

Utility name truncated to 8 characters

&SEQ

Short name: &SQ            

Sequence number of the LISTDEF list item

&LOCREM

Short name: &LR

Single character L (for the local site) or R (for the recovery site)

&PRIBAC    

Short name: &PB        

Single character P (for the primary ddname) or B (for the backup ddname)

&LIST  

Short name: &LI

Name of the list for the LISTDEF

&DB       

Database name

&TS 

Table space name

&IS

Index space name

&SN      

Space name for table space or index space

&PART

Short name: &PA

Five-digit partition number padded with leading zeros

&DSNUM    

Five-digit partition number for partitioned objects, or five-digit piece number for linear objects, padded with leading zeros

&DATE  

Short name: &DT

YYYYDDD

&TIME

Short name: &TI

HHMMSS

&JDATE

Short name: &JU

YYYYDDD

&YEAR

Short name: &YE

YYYY of &DATE

&MONTH  

Short name: &MO

MM

&DAY

Short name: &DA

DD

&JDAY

Short name: &JD

DDD of &DATE

&HOUR

Short name: &HO

HH of &TIME

&MINUTE

Short name: &MI

MM of &TIME

&SECOND

Short name: &SC

SS of &TIME

The following DSNUTILB syntax is generated:

//SYSIN     DD *                                           
LISTDEF COPYLIST                                           
                                                          
INCLUDE TABLESPACE DBVCREG.RGTSCLL1                        
PARTLEVEL(0)                                               
                                                          
TEMPLATE COPY0001                                          
  DSN                                                      
  'RDAJLW.&DB..&TS..&IC.&PA(3,3)..D&YEAR(4,1).&JD..T&TI.'  
  UNIT SYSALLDA                                            
  DISP(NEW,CATLG,UNCATLG)                                  
  SPACE(10,20) CYL                                         
  EATTR                                                    
COPY LIST COPYLIST                                         
  COPYDDN( COPY0001 )                                      
  PARALLEL(9) TAPEUNITS(9)                                 
/*                                                         

Some example messages generated after running the DSNUTILB syntax are as follows:

DSNU050I    025 11:20:27.48 DSNUGUTC -  LISTDEF COPYLIST INCLUDE TABLESPACE DBVC REG.RGTSCLL1 PARTLEVEL(0)
DSNU1035I   025 11:20:27.49 DSNUILDR - LISTDEF STATEMENT PROCESSED SUCCESSFULLY

DSNU050I    025 11:20:27.49 DSNUGUTC -  TEMPLATE COPY0001 DSN 'RDAJLW.&DB..&TS.. &IC.&PA(3,3)..D&YEAR(4,1)
.&JD..T&TI.' UNIT SYSALLDA DISP(NEW, CATLG, UNCATLG) SPACE(10, 20) CYL EATTR    
DSNU1035I   025 11:20:27.49 DSNUJTDR - TEMPLATE STATEMENT PROCESSED SUCCESSFULLY

DSNU1038I   025 11:20:27.82 DSNUGDYN - DATASET ALLOCATED.  TEMPLATE=COPY0001
                       DDNAME=SYS00001                                       
                       DSN=RDAJLW.DBVCREG.RGTSCLL1.F000.D1025.T172027  ============== data set name resolved from the symbolic variable pattern


 

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

BMC AMI Recovery Manager for Db2 12.1