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


Update CMS sequenced 8 file

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

The process option UPDCMS8 produces update files that are generally created for input to the CMS UPDATE command. The CMS UPDATE command is described in the z/VM CMS Command Reference manual.

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

The old input file must have fixed-length 80-byte records with valid sequence numbers in columns 73 through 80. The new file must be fixed but may have a length less than or equal to 80.

The UPDCMS8 update file is fixed-length 80.

If the sequence numbers do not allow adequate room to insert changes from the new file, SuperC changes the status of adjacent matched lines to find the room.

UPDCMS8 update files contain both CMS UPDATE control statements and source lines from the "new" file. All UPDCMS8 control statements are identified by the characters "./" in columns 1 and 2 of the 80-byte record, followed by one or more spaces and a one-character control line identifier. The control line identifiers are sequence (S), insert (I), delete (D), replace (R), and comment (*). Figure 1 shows an example of a UPDCMS8 update file.
Figure 1. Example of a UPDCMS8 update file
 1  ./ * NEW:  JLEVERIN TEST2    A                          07/11/2008 11.35
 2  ./ * OLD:  JLEVERIN TEST1    A
 3  ./ R 00000100 00000100 $ 00000140 00000040
 4  This line is reformatted; the spacing in the "new" file differs.     00000100
 5  ./ R 00000300 00000300 $ 00000340 00000040
 6  This line differs from the text in the "old" file.                   00000300
 7  ./ I 00000400          $ 00001400 00001000
 8  This line is in the "new" file, but not in the "old".                00000500
The example in Figure 1, has the following lines:
 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 line. The first 8-digit numeric field is the sequence number (of the old file) of the first input number to be replaced. The second 8-digit numeric field is the sequence number of the old file that is the last record to be replaced. The dollar sign is an option separator field. The third and fourth 8-digit fields represent the first decimal number to be used for sequencing the substitute records and the decimal increment to be used in the sequencing.

In this example, the first line of the old file is being replaced with one line from the new file.

 4 
The new record which has replaced the old record at sequence number 00000100.
 5 
Another replacement control line.
 6 
The new record which has replaced the old record at sequence number 00000300.
 7 
Insert control line. After old line 4, there is a line inserted in the new file.
 8 
The text of the inserted line.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014