UPDATE r---------, I fn ASSEMBLE r---------,
fn UPDATE $fn ASSEMBLE fn UPDLOG L---------J
L---------J
update fn frr is the source input file.
fn UPDATE UPDATE control statements and updated source input record'S-:- ifn is the updated source file, incorporating changes,
additions, and deletions specified in the update file. The output
filetvpe is always the same as the filetype of the input file. These
default filetypes and filemodes can be overridden on the command line;
for example:
update testprog cobol b fix cobol b (rep
results in a source file TESTPROG COBOL B being updated with control
statements contained in the file FIX COBOL B. The output file replaces
the existing TESTPROG COBOL B. fg contains a record of updates applied. If you do not want this
file written on disk, specify the PRINT option.
r---------,
L---------J
fn ASSEMBLE fn CNTRL fn UPDTABC fn UPDTXYZ update fn (ctl
r---------, I , , I I L---------.l trr is the source input file.
$fn ASSEMBLE fn UPDLOG fn UPDATES fg is the control file that lists updates to be applied to the
source file. These default filetypes and filemodes can be overridden on
the command line; for example:
update acct pliopt a test cntrl a (ctl
results the file TEST CNTRL being used by the UPDATE command to
locate the update files for ACCT PLIOPT. Section 2. CMS Commands 201
UPDATE fn fn are update files containinq UPDATE control
statements and new source records. These files must have filenames that
are the same as the source input file. The first four characters of the
filetype must be "UPDT." The UPDATE command searches all accessed disks
to locate the update files. !fn is the updated source file, incorporatinq chanqes, additions, and deletions specified in the update files. The filetype is
always the same as the filetype of the source input file. fn contains a record of updates applied. If you do not want this
file written on disk, specify the PRINT option.
fn summarizes the updates applied to the source file,. !hg II1E (fn CNTRL) may not contain UPDATE control statements .• It may only list the filetypes of the files that contain UPDATE control
statements. This control file contains the records: TE1CT MACS CMSLIB TWO UPDTABC ONE UPDTXYZ where and are the filetypes of the update files. The UPDATE command applies these updates to the source file beginning with the last record in the control file. Thus, the updates in fn UPDTXYZ are applied before the updates in fn UPDTABC. When you create update files whose filetypes begin with 'UPDT', you
may omit these characters when you list the updates in the control file;
thus, the CNTRL file may be written: TE1CT MACS CMSLIB Twa ABC ONE lYZ The first column of the control file consists of an
update level identifier, which may be from one to five characters long.
These identifiers are used by VM/370 updating procedures, like the VMFASM EXEC, to locate and identify text decks produced by multilevel
updates. The first record in the control file must be a MACS record which
contains an update level identifier (TEXT) and, optionally, lists up to
eight macro library' filenames.
The information provided in the MACS card and the update level
identifier are not used by the UPDATE command unless the STK option is
specified. Thev are, however, required in the CNTRL file. 208 IBM VM/370 CMS Command and Macro Reference
Previous Page Next Page