The primary input file to be processed is defined by the INPUT statement and all processing statements are performed only against this file.
The file to be updated with new records from the primary input file is written out to the output file without modification. Records from the primary input file are selected, processed, and then written out to the output file.
The merge function is specified by the following statements:
OUTPUT(UPD) indicates that CA JARS Wizard should read the file that is to be updated (defined by DD statement CAIJWOL) and write it to the output file without any processing or modification.
The primary input file records that have been selected and processed are then written out at the end of the output file.
The execution statistics produced for this example tells us that there were 3258 OUTPUT RECORDS.
Note: This is the total of 2168, which is the number of UPDATED RECORDS (or input records) from the file to be updated, and 1090, which is the number of SELECTED RECORDS from the primary input file.
| Copyright © 2012 CA. All rights reserved. |
|