DBD, PSB, ACB control statements

A DBD control statement, PSB control statement, or ACB control statement specifies the members to compare.

DBD control statement

DBD=member
The members (member) in the libraries specified in the DBDLIB DD and DBDLIB2 DD statements are to be compared. The result is written to DBD Compare reports.
DBD=member1:member2
The member (member1) in the library that is specified in the DBDLIB DD statement and the member (member2) in the library that is specified in the DBDLIB2 DD statement are to be compared. The results are written to the DBD Compare report.
DBD=member,ACB
The members (member) in the libraries that are specified in the DBDLIB DD and ACBLIB2 DD statements are to be compared at their source level. The result is written to DBD Compare reports. The abbreviation A can be used instead of the parameter ACB.

PSB control statement

PSB=member
The members (member) in the libraries specified in the PSBLIB DD and PSBLIB2 DD statements are to be compared. The result is written to PSB Compare reports.
PSB=member1:member2
The member (member1) in the library that is specified in the PSBLIB DD statement and the member (member2) in the library that is specified in the PSBLIB2 DD statement are to be compared. The results are written to the PSB Compare report.
PSB=member,ACB
The members (member) in the libraries that are specified in the PSBLIB DD and ACBLIB2 DD statements are to be compared at their source level. The result is written to PSB Compare reports. The abbreviation A can be used instead of the parameter ACB.

ACB control statement

ACB=member
The members (member) in the libraries specified in the ACBLIB DD and ACBLIB2 DD statements are to be compared. The result is written to ACB Compare reports.
ACB=member1:member2
The member (member1) in the library that is specified in the ACBLIB DD statement and the member (member2) in the library that is specified in the ACBLIB2 DD statement are to be compared. The results are written to the ACB Compare report.
ACB=member,parameter
The members (member) in the libraries that are specified in the ACBLIB DD statement are to be compared to the members in the libraries that are specified in the DBDLIB2 DD, PSBLIB2 DD, or in both DD statements at their source level. The results are written to ACB Compare reports.
The following options can be specified for parameter (the allowed abbreviation is shown in parentheses):
DBD (D)
This option specifies that the members in the libraries that are specified in the ACBLIB are to be compared to the members in the libraries that are specified in DBDLIB2 at their source level.
PSB (P)
This option specifies that the members in the libraries that are specified in the ACBLIB are to be compared to the members in the libraries that are specified in PSBLIB2 at their source level.
BOTH (B)
This option specifies that the members in the libraries that are specified in the ACBLIB are to be compared to the members in the libraries specified in DBDLIB2 and PSBLIB2 at their source level.

Use of wildcards

For member and member1 (the first member name), you can specify a wildcard in any position of a character string. The asterisk (*) and the percent sign (%) are supported as wildcard characters. An asterisk represents 0 - 8 characters, and a percent sign represents a single character. If two or more asterisks are specified sequentially, only the first asterisk is recognized. You cannot use wildcard characters to specify member2 (the second member name).

Quick reference for DBD, PSB, ACB control statements and DD statements

The following table lists the DBD/PSB/ACB Compare functions, control statements, and DD statements.

Table 1. DBD/PSB/ACB Compare functions, control statements, and DD statements
Function Control keyword Required DD statements
(O: Optional R: Required)
SYS
PRINT
SYS
OUT
DBD
LIB
DBD
LIB2
PSB
LIB
PSB
LIB2
ACB
LIB
ACB
LIB2
SYS
IN
DBD compare DBD= R R R R R
DBD=member1:member2 R R R R R
DBD=member,A R R R R R
PSB compare PSB= R R R R R
PSB=member1:member2 R R R R R
PSB=member,A R R R R R
ACB compare ACB= R R R R R
ACB=member1:member2 R R R R R
ACB=member,D R R R R R
ACB=member,P R R R R R
ACB=member,B R R R R R R