Specifying Compare Block 2 name


If Compare Block 2 does not have the same member name as Compare Block 1, you must code either the PSB2, DBD2, DIR2 or ACB2 keyword to specify the Compare Block 2 name or list of names.

These keywords allow the same values as the PSB, DBD, DIR and ACB keywords.

If you do not specify the PSB2, DBD2, DIR2 or ACB2 keyword, or if you specify them without a value, Database Integrity uses the member name(s) specified for Compare Block 1 with the PSB, DBD, DIR or ACB keyword. In this case, if Compare Block 1 has been specified as ALL, Database Integrity compares each member of the Compare Block 1 library with a like-named member in the Compare Block 2 library. Note that the two compare blocks do not have to be of the same type; for instance, Compare Block 1 can be a DBD and Compare Block 2 can be its corresponding ACB.

Unless you know that the two control blocks have different names, it is usually best to use the Compare Block 1 specification instead of specifying the PSB2, DBD2, DIR2, or ACB2 keyword. It is possible to get invalid results by specifying a list for both keywords. Database Integrity compares the first item in the Compare Block 1 list with the first item in the Compare Block 2 list, the second with the second, and so on. If one list contains a member that is not in the other list, the two Compare Blocks selected for comparison would likely be very different.

 

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