PSB2 keyword


If you want to use a PSB, or a list of PSBs, as Compare Block 2 in a control block comparison, you can code the PSB2 keyword to explicitly specify the PSB(s) to use.

Note that Compare Block 1 is named by the PSB or ACB keyword. If you specify the PSB2 keyword, you must also specify the name of the library that contains the Compare Block 2 PSBs, as explained in the section on the PSBLIB2 keyword.

You can code the PSB2 keyword without a value to emphasize that Compare Block 2 is a PSB and that its name is identical to Compare Block 1.

Attribute

Description

Uses

The PSB2 keyword is optional on the COMPARE statement. It is not valid on the other control statements.

Syntax

PSB2(value1,value2,…value8)

PSB2(ALL)

PSB2

Values

Code at least one, and a maximum eight per task, of the following values. Database Integrity processes the names in the order in which you specify them. You can use any combination of member names and patterns.

memberName

The literal member name to select.

x+x*

A pattern that tells Database Integrity to select any member names that match the pattern. For more information, see Using-patterns-to-specify-member-names.

Or specify ALL to use all of the PSBs in the specified PSB library.

Or code the keyword without a value to use the member names from the list specified with the PSB or ACB keyword.

Default

PSB2

 

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