The Compare utility allows the user to:
- Compare data from any resource, to data in any other resource.
- Compare load modules
- Perform a field level comparison. By using an "Old" copybook or template with a "New" copybook or template, the selected fields can be compared with the result of the comparison reflecting the types of data in the fields.
- Produce a comparison report, showing information such as where insertions, deletions or changes have occurred in the "New" resource.
This page details the mapping of fields to batch parameters and miscellaneous notes. For the full description of each parameter, refer to the IBM File Manager Users Guide and Reference.
Basic Settings

Parameter mappings:
- Old Resource: DSNOLD. A single member may be specified here, optionally containing wild cards.
- Old Volume: VOLSEROLD
- New Resource: DSNNEW. A single member may be specified here.
- New Volume: VOLSERNEW
- Synchronization: SYNCH=ONETOONE, SYNCH=READAHEAD, SYNCH=KEYED, and SYNCH=LMOD for One to One, Read Ahead, Keyed, and Load Module respectively
- Result Listing Summary, Delta, Matching, All: LIST=SUMMARY, LIST=DELTA, LIST=MATCHING, and LIST=LONG respectively
- Result Listing Show hex formatting for records: HEX
Back to top
Old Resource Settings
Options in Member Specification will be disabled when Old Resource is not a data set with members.

Parameter mappings:
- Members: MEMOLD if a single member or a wildcarded member is entered, MEMLIST if multiple members are entered
- Name: from & to: If both "from" and "to" are specified, MEMSTART and MEMEND will be used respectively. If "from" is specified and "to" is left empty, the "from" value will be used as the value to the MEMBER parameter. Specify * in the "from" or "to" field to select all previous or all next entries (respectively).
- Exclude Members: If exclude members is used, then excluded member defined by pattern or mentioned specifically will get removed from member list
- Created: from & to: CRESTART and/or CREEND
- Changed: from & to: CHGSTART and/or CHGEND
- User ID: from & to: if both from and to are specified, UIDSTART and UIDEND will be used respectively. If from is specified and to is left empty, the from value will be used as the value to the USERID parameter. Specify * in the from or to field to select all previous or all next entries (respectively).
- IO Exit: USEIOXOLD (when checked) and (optionally when IO exit specified in field) IOXOLD
- Binary record length: BINRECOLD
- KSDS Key/RRDS Slot: KEYOLD
- Records to Skip: SKIPOLD
- Records to Compare: CMPOLD
Back to top
New Resource Settings

Parameter mappings:
- Member: used as the member component for DSNNEW (wildcarding not allowed)
- IO Exit: USEIOXNEW (when checked) and (optionally when IO exit specified in field) IOXNEW
- Binary record length: BINRECNEW
- KSDS Key/RRDS Slot: KEYNEW
- Records to Skip: SKIPNEW
- Records to Compare: CMPNEW
- Number of differences to report: NUMDIFF
- Highlight changed fields: HILIGHT
- Ignore record length mismatches: IGNLEN
- ISPF Packing Unpack, Skip, & Ignore: PACK=UNPACK, PACK=SKIP, PACK=NONE
Back to top
Template Settings

Parameter mappings:
- Old Template: TCOLD
- Old Field offsets: OFFSETOLD
- Old Field mapping: FIELDOLD
- New Template: TCNEW
- New Field offsets: OFFSETNEW
- New Field mapping: FIELDNEW
- Attempt to automatically map corresponding fields: CORRESP=YES (if checked)
- Show attribute information: SHOWATTR
- Report layouts and criteria: PBK
- Report field mappings used: MAP=ALL (if checked)
- Report array elements: ARRAY
- Report fields in hex: HEXLEN and HEXLOC
- Formatted comparison: TYPE=FORMATTED
- Left justify numeric fields: JUST
- Ignore blanks: opposite of MATCHREF (i.e. when checked, MATCHREF=NO, and when unchecked, MATCHREF=YES)
- Ignore case: IGNORECASE
Back to top
Synchronization Settings
This page will only appear if Read Ahead or Keyed synchronization is selected on the Basic Settings page.

Parameter mappings:
- Limit: LIMIT
- Length: LENGTH
- Use key segment information from old template: KEYTCOLD
- Old Template Key Fields: KEYFLDOLD
- Old Key Locations: KEYLOCOLD
- Use key segment information from new template: KEYTCNEW
- New Template Key Fields: KEYFLDNEW
- New Key Locations: KEYLOCNEW
- Key Lengths: KEYLEN
- Key Types: KEYTYPE
Back to top
Load Module Compare Options
This page will only appear if Load Module synchronization is selected on the Basic Settings page.
This page will only appear if Read Ahead or Keyed synchronization is selected on the Basic Settings page.

- Comparison level: CMPLVL=LMOD and CMPLVL=CSECT for Only Load Module and Load Module and CSECT respectively
- Date format: DATEFORM
- Compare Load Module by: LMODC:
- Size: SIZE
- Entry point address: ADDRESS
- Version of linker used: LINKER / BINDER
- Link date and time: DATE / TIME
- AMODE and RMODE: MODE
- Authorization code: AC / AUTH
- Link Attributes: ATTR
- Compare CSECT by: CSECTC:
- Size: SIZE
- Address: ADDRESS
- Version of compiler used: COMPILER
- Link date and time: DATE
- AMODE and RMODE: MODE
- AMSPZAP IDR: IDRZAP / ZAP
- Text content: TEXT
Back to top