Previous Topic: SyntaxNext Topic: Sample Outputs


Input Parameters

Specify PARM values as described below. Separate the values using a single comma, leaving no spaces between the values.

output-format

Two-character code that indicates the type of comparison information you want reported (character 1) and the format of the output file (character 2). The default is CD.

Specify the first character (type of information you want) as follows:

Code

Meaning

C

Print only the changes between the two files; that is, those lines inserted from file 2 and those lines deleted from file 1.

A modification to a line of code displays as an insert of the modified line(s) immediately followed by a delete of the old line(s).

H

Print a history of both files including:

  • Inserts. Any lines that were in file-2 but are not in file-1, highlighting those lines with %INSERT to the far left: % allows you to scan for changes easily; INSERT indicates that the line was new in file-2.
  • Deletes. Any lines that were in file-1 but are not in file-2, highlighting those lines with %DELETE to the far left: % allows you to scan for changes easily; DELETE indicates that the line is not in file-2.
  • Equals. Any lines that were equal in file-1 and in file-2. These lines display with blanks in the far left.

B

Print (browse) the contents of file-2, highlighting only the statements inserted relative to file-1 with %INSERT in the far left.

Specify the second character (output format) as follows:

Code

Meaning

F

The output file is in browse format and does not have any ASA characters or headers. The output is written to DDname NDVRPCH.

D

The output file is formatted for print, and includes ASA characters and headers. The output is written to DDname NDVRLST.

from

Starting character for the compare. NDVRCOMP begins its search at this position, within both files. The default is 1.

thru

Ending character for the compare. NDVRCOMP ends its search with this position, within both files. For variable-length records, if the record in one file is longer than that in the other, and the thru character extends beyond the end of the record, NDVRCOMP pads according to the pad-char specification before performing the compare.

The default thru specification is 72.

rec-count

Largest number of records in either file. The default is 10000. Estimate high when specifying this value.

pad-char

Pad character used for variable-length records, as described for the thru parameter above. Specify this as follows. (The default is BLANK.)

Code

Pad with:

BLANK

Blanks.

NULL

Null values (binary zeros).

nnn

The hexadecimal equivalent of nnn, where nnn is a 1-3 character decimal value. Specify 64 to pad with X'40', 255 to pad with X'FF', and so forth.