then any subsequent changes you make to the file ACCOUNT written into the file NEWACCT ASSEMBLE. When you issue a
subcommand, your source file remains intact.ASSEMBLE are
FILE orSAVE After your changes to the source program have been tested you can
replace the source file with your new copy.
THEUPDATE PHILOSOPHY While the procedures outlined above for modifying programs are suitable
for many applications, they may not be adequate in a situation where
several programmers are applying changes to the same source code. These
procedures also have the drawback of not providing you with a record of
what has been changed. After using the editor,you do not have a record
of the lines that have been deleted, added, replaced, and so on, unless
you manually addcomments to the code, insert special characters in the
serialization column, or usesome technique that records program
activity.
TheUPDATE command provides a way for you to modify a source program without affecting the original, and it produces an update log,
indicating the changes that have been made. Moreover, it also has the
capability of combining multiple updates at one time, so that changesmade by different programmers or changes made at different times can be combined into a single output file.
TheUPDATE command is a basic element of the entire VM/370 updating
scheme and is used by system programmers who maintainVM/370 at your
installation. Although the input filetypes used by theUPDATE command
default toASSEMBLE file characteristics, the UPDATE command is not
limited to assembler languageprograms, nor is it limited to system programming applications. You can use it to modify and update any
fixed-length, 80-character file that does not have data in columns 72
through80. UPDATE FILES A simple update involves two input files: • The source file, which is the program you want to update • An update file, containing control statements that describe the
changes you want tomake The control statement file usually has a filetype of UPDATE. For
convenience, you can give it the same filename as your source file. For
example, if you want to update the fileSAMPLE ASSEMBLE, you would
create a file namedSAMPLE UPDATE. To apply the changes in the update file, you issue the command:
update sample
The default values used by theUPDATE command are filetypes of ASSEMBLE and UPDATE for the source and update files, respectively. If you are
updating aCOBOL source program named READY COEOL with an update file
namedUPDATE READY, you would issue the command:
update ready cobol a update ready a
252IBM VM/370 CMS User's Guide
subcommand, your source file remains intact.
FILE or
replace the source file with your new copy.
THE
for many applications, they may not be adequate in a situation where
several programmers are applying changes to the same source code. These
procedures also have the drawback of not providing you with a record of
what has been changed. After using the editor,
of the lines that have been deleted, added, replaced, and so on, unless
you manually add
serialization column, or use
activity.
The
indicating the changes that have been made. Moreover, it also has the
capability of combining multiple updates at one time, so that changes
The
scheme and is used by system programmers who maintain
installation. Although the input filetypes used by the
default to
limited to assembler language
fixed-length, 80-character file that does not have data in columns 72
through
changes you want to
convenience, you can give it the same filename as your source file. For
example, if you want to update the file
create a file named
update sample
The default values used by the
updating a
named
update ready cobol a update ready a
252