Control statements for the DBD/PSB/ACB Compare utility
The input to the DBD/PSB/ACB Compare utility consists of control statements in the SYSIN data set. These control statements contain keywords that indicate the function and the names of the DBDs, PSBs, or ACBs for which the reports are created.
This data set usually resides in the input stream. However, it can be defined as a sequential data set or as a member of a partitioned data set. It must contain one 80-byte fixed-length record for each DBD, PSB, or ACB member to be compared. Block size, if coded, must be a multiple of 80.
Output reports are always generated in the order of DBD Compare reports, PSB Compare reports, and ACB Compare reports, with members in each group sorted alphabetically.
- DBD, PSB, ACB control statements
- A DBD control statement, PSB control statement, or ACB control statement specifies the member to compare. See DBD, PSB, ACB control statements.
- REPORT control statement
- A REPORT control statement controls report output. See REPORT control statement.
- NOCOMP control statement
- A NOCOMP control statement specifies the field that you want to exclude from comparison. See NOCOMP control statement.
Control statement example
The SYSIN data set can be coded as shown in the following figure.
//SYSIN DD *
REPORT=SOURCE,NODIFF
NOCOMP=parameter,parameter
DBD=member
DBD=member1:member2
DBD=member,ACB
PSB=member
PSB=member1:member2
PSB=member,ACB
ACB=member
ACB=member1:member2
ACB=member,DBD
ACB=member,PSB
ACB=member,BOTH
/*
Syntax rules
The control statements for DBD/PSB/ACB Compare must adhere to the following syntax rules:
- Control statements can be coded anywhere between columns 2 - 80.
- In the control statement field, keyword, equal sign, and member name must not be separated by blanks. Because a blank serves as the delimiter, only a comment can be written after a blank.
- A statement with an asterisk (*) in column 1 is treated as a comment.
- The control statements can be specified in any order. For example,
in the following order:
ACB=XXXXXXXX PSB=XXXXXXXX PSB=XXXXXXXX NOCOMP=XXXXXXX ACB=XXXXXXXX DBD=XXXXXXXX