The process option UPDLDEL produces an update file that contains
control records, matching new file source records, inserted new file
source records, and deleted old file source records.
The UPDLDEL process option is available for the LINE compare type
only.
Figure 1 shows an example of a UPDLDEL
update file.
The control records are titled as follows:
- *HDR1, *HDR2, *HDR3
- Header titles and data
- *M-
- Matched line sequence header
- *I-
- Inserted line sequence header
- *I-RP
- Inserted line sequence header for replacement lines
- *I-RF
- Inserted line sequence header for reformatted lines
- *D-
- Deleted line sequence header
- *D-RP
- Deleted line sequence header for replacement lines
- *D-RF
- Deleted line sequence header for reformatted lines
Header control records are full length records that
delimit the copied file records. This allows you to quickly find changed
areas. The records look like the information about a LONG listing.
The two input files must both have the same fixed record length or
each have a variable record length.
Figure 1. Example of a UPDLDEL update file*HDR1 JLEVERIN TEST2 A 07/11/2008 14.58
*HDR2 JLEVERIN TEST1 A TYPE = UPDLDEL
*I-RF INS#= 1 N-REF#=000001 O-REF#=000001 *****ASMFSUPC CHANGE HEADER*****
This line is reformatted; the spacing in the "new" file differs. 00000100
*D-RF DEL#= 1 N-REF#=000001 O-REF#=000001 *****ASMFSUPC CHANGE HEADER*****
This line is reformatted; the spacing in the "new" file differs. 00000100
*M- MAT#= 1 N-REF#=000002 O-REF#=000002 *****ASMFSUPC CHANGE HEADER*****
This line is the same in both files. 00000200
*I-RP INS#= 1 N-REF#=000003 O-REF#=000003 *****ASMFSUPC CHANGE HEADER*****
This line differs from the text in the "old" file. 00000300
*D-RP DEL#= 1 N-REF#=000003 O-REF#=000003 *****ASMFSUPC CHANGE HEADER*****
This line differs from the text in the "new" file. 00000300
*M- MAT#= 1 N-REF#=000004 O-REF#=000004 *****ASMFSUPC CHANGE HEADER*****
This line is the same in both files. 00000400
*I- INS#= 1 N-REF#=000005 O-REF#=000004 *****ASMFSUPC CHANGE HEADER*****
This line is in the "new" file, but not in the "old". 00000500