z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Update sequenced 0 file

z/OS ISPF User's Guide Vol II
SC19-3628-00

The process option UPDSEQ0 produces a control file that relates insertions and deletions to the relative line numbers of the old file. UPDSEQ0 is like UPDCMS8, but uses relative line numbers instead of sequence numbers from the old file.

The UPDSEQ0 process option is available for the LINE compare type only.

This update file is characterized by control statements followed by source lines from the new file. All UPDSEQ0 control statements are identified by the characters "./" in columns 1 and 2 of the 80-byte record, followed by one or more spaces and additional space-delimited fields. The control statements are insert (I), delete (D), replace (R), and comment (*). Control statement data does not extend beyond column 50. Figure 1 shows an example of a UPDSEQ0 update file.
Figure 1. Example of a UPDSEQ0 update file
 1  ./ * NEW:  JLEVERIN TEST2    A                            07/11/2008 13.34
 2  ./ * OLD:  JLEVERIN TEST1    A
 3  ./ R 00000001 00000001 $ 00000001
 4  This line is reformatted; the spacing in the "new" file differs.     00000100
 5  ./ R 00000003 00000003 $ 00000001
 6  This line differs from the text in the "old" file.                   00000300
 7  ./ I 00000004          $ 00000001
 8  This line is in the "new" file, but not in the "old".                00000500
 1 
Comment line. Lists the new file name and the date and time of the comparison.
 2 
Comment line. Lists the old file name.
 3 
Replacement control record. Beginning at the first record of the old file, replace 1 record. The numeric value after the dollar sign specifies the number of new file source lines that follow the control record.
 4 
Text of new file line to replace line 1.
 5 
Replace the third record with 1 record.
 6 
Text of new file line to replace line 3.
 7 
Insert control line. Insert 1 line after record 4 of old file.
 8 
Text of inserted line.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014