Comparing files - Selecting your compare - criteria options


The Compare - PDS Criteria Options Screen, as shown in the following figure, allows you to specify processing and output options for your PDS/PDSE compare.

Compare type

Type

Description

S (Sorted/Keyed)

is the default compare type.

R (ReadAhead)

for a non-keyed file.

1 (1-TO-1)

For a 1-TO-1 record compare, specify 1 (one) in the Compare type file. File-AID compares "OLD" record 1 to "NEW" record 1, "OLD" record 2 to "NEW" record 2, etc.


Important

  • Use 1 if the old and new file members have the same number of records (no inserts and/or deletes).
  • Use R if the old and new file members can have inserts and deletes.

Controlling processing limits

You can control the number of records to compare and the number of differences to report before stopping the compare.

By default, all records are compared and all differences are reported. Use a number (1-999) to specify the maximum number of records to process.

Unequal member lists

When comparing PDS/PDSE data sets that have different member lists, specify Y if you want File-AID to issue the return code as set with parameter UNEQUAL_COMPARE_RETURN_CODE (See UNEQUAL_COMPARE_RETURN_CODE in the File-AID Advanced Configuration Guide) so that you know the member lists have differences. (N is the default, Do not treat inserted/deleted members as differences)

Compare - PDS Criteria Options Screen

image2021-6-17_9-38-36.png

Steps:

  1. Type 1 in the Compare type field.
  2. Type Y in the Modify print defaults field.
  3. Press Enter. File-AID displays the Compare - Print Options (Page 1) Screen screen as illustrated in the following figure.


 

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