Recommended Procedures
Ifyou want to update a VM/370 component, you should create your own
control file. This file should contain entries for your own updates as
well as for the IBM-supplied updates.Control File Preparation
Control files are used by theCMS UPDATE command. Both the VMFMAC and VMFASM update procedures invoke UPDATE with the CTL option to modify
source files. ForVMFMAC and VMFASM, the control file must have a
filetype of CNTRL. In addition, theVMFLOAD program also uses a control
file: this is usually the same control file used by theVMFASM EXEC. For an understanding of how the update procedures work, you should
have a thorough understanding of the elements in a control file.
Control files are described extensively in the and the VM/J70 and The following
discussion summarizes howVMFMAC, VMFASM, and VMFLOAD use the control l*THIS IS A SAMPLE CNTRL FILE FOR LOCAL CP UPDATES TEXT MACS2 LOCALIB DMKMAC CMSLIB OSMACRO UP3 UPDTFIX 1. PTF5 FIXTEST LCL AUXLCL6 TEXT AUXRn0
7 IThis is a comment record. 2VMFASM uses the library list from the MACS record to issue a GLOBAL command before assembling the updated source file. The libraries are
searched in the order specified.DMKAMAC should precede DMKMAC if AP support is required. 3VMFASM and VMFLOAD use the update level identifier to identify the text
deck.VMFASM uses the update level identifier of the most recent
update that was found and applied to name the text deck produced by the
assembly.VMFLOAD uses update level identifiers to locate text decks
when punching a newCP, CMS, or RSCS nucleus.
The update level identifier on theMACS record is used by VMFASM to
name an assembled update text deck when no update files are found; it
is also used byVMFLOAD when it fails to locate a text file based on
update level identifiers associated with update files or auxiliary
control files .• The characters UPDT identify the filetype of a single update file, UPDTFIX 1 in this example. (The characters "UPDT" maybe omi tted.)
5The charactersPTF in the update level identifier field identify this
file as a PTF file.FIXTEST is the filetype of the update file.
6The charactersAUX identify an auxiliary control file that lists
additional updates to be applied, local modifications in this example.7AUXRnO is the VM/370 auxiliary control file, listing updates
distributed byIBM. This file is listed at the bottom of the control
file so that these updates are applied first.
334IBM VM/370 Planning and System Generation Guide
If
control file. This file should contain entries for your own updates as
well as for the IBM-supplied updates.
Control files are used by the
source files. For
filetype of CNTRL. In addition, the
file: this is usually the same control file used by the
have a thorough understanding of the elements in a control file.
Control files are described extensively in the
discussion summarizes how
7
searched in the order specified.
deck.
update that was found and applied to name the text deck produced by the
assembly.
when punching a new
The update level identifier on the
name an assembled update text deck when no update files are found; it
is also used by
update level identifiers associated with update files or auxiliary
control files .
5The characters
file as a PTF file.
6The characters
additional updates to be applied, local modifications in this example.
distributed by
file so that these updates are applied first.
334