Selecting your compare - source criteria
The Compare - Source Criteria Screen allows you to specify processing and output options for your Source compare.
Compare criteria
Use the following fields to specify the source criteria that you want File-AID to use in the comparison.
Field | Description |
---|---|
Source code language | Specify the language of the source code: 1 specifies COBOL, 2 specifies PL/1. |
Line compare synchronization | Specify how to synchronize the compare. L: Line content. C: COBOL sequence number. Columns 1-6. S: Standard sequence number. Columns 73-80. |
Case Sensitive | Specify if case sensitivity is relevant to the compare. A: Case must remain as is. C: Convert to uppercase. |
Columns to compare | Enter the column range (1-80) for the compare. Blank columns to compare will use the language default: 7-72 for COBOL. 2-72 for PL/1. |
Exclude options
Use the following fields to specify what you want File-AID to exclude during the comparison.
Field | Description |
---|---|
Exclude comments | Enter Y (Yes--default) to exclude comments or N (No) to include the comments in the compare. COBOL comments start with an '*' in column 7 OR a '/' in column 7 followed by the comment. |
Exclude blank lines | Enter Y (Yes--default) to exclude blank lines or N (No) to include blank lines in the compare. |
Exclude compiler directives | Enter Y (Yes--default) to exclude compiler directives or N (No) to include compiler directives in the compare. COBOL directives include but are not limited to:
PL/1 directives include but are not limited to:
|
Selection criteria action | Specify whether to I (Include) or E (Exclude) lines meeting the selection criteria in the compare. |
Modify print defaults | Specify whether you want to modify the print options for the Compare Report. Print option values are saved in your user profile. Valid entries are Y (Yes) and N (No). All default print option values are the last print option values that you entered for the last source compare. |
Compare - Source Criteria Screen
Steps:
- Type 1 in the Source code language field.
- Type C in the Line compare synchronization field.
- Type A in the Case sensitive field.
- Type Y in the Exclude comments field.
- Type Y in the Exclude blank lines field.
- Type Y in the Exclude compiler directives field.
- Type I in the Selection criteria action field.
- Type Y in the Modify print defaults field.
- Press Enter. File-AID displays the Compare - Print Options (Page 1) Screen.