respectively. None, some, or all of the
updatesmay exist to be applied.
Record 5 defines an auxiliary file that
specifies an auxiliary list ofPTFs or
updates that are to be applied. Record 5
defines an auxiliary file identified as
'filenameAUXxxxxx', where 'filename' is
thesame as the filename of the input file
and xxxxx is an update identifier (the
update identifier for an auxiliary control
file cannot be "aux"). Records in the
auxiliary file have the following format
forPTFs to be applied: PTF A30246CA A21726CA PTF 107426Cl * Any comment The PTF field is an optional identifier,
and the second field (for example,A30246CA) defines a specific PTF to be
applied. ThePTF has a 'filename A30246Cl' identification, where 'filename' is the same as the filename of the file to be
updated. The filetype of aformat Axxxx6Cl is used to indicate an APAR answer or PTF for APAR number xxxx. The comment field is
used to describe the function of the
particularPTF. The * record is ignored
and is used to provide additionalcomments on any updates or PTFs. The updates (PTFs included) are applied
in the reverse order in which they appear.
In the previousexample, the updates would
be applied in the following order:A07426CA A21116CI A30246CI UPDTup3 UPDTup2 UPDTup1 The PTF records can be directly included
in theCNTRL file if desired, but it is
usuallymore convenient to place them in a
separate auxiliary(AUXXXxxx) file.
There can beany number of UPDTxxxx definition and auxiliary control file
definition records, but only oneBACS record. The complete CNTRL file can have any filename, but typically has the same name as the first specified UPDTxxxx control record. In the example. the file
could benamed UP1 CNTRL. The underlined fields in each record mark the level identification fields. The
highest level (last) update to be applied
selects thename that can be used to
identify updated files. In the example, ifUPDTup3 was the last update applied, then
the name selected would benaa03e The
value for the identification usually
consists of a combination of the update
identifieruP'. up2, (uP to four
characters) and additional charactersup to
amaximum of 5 for the combined update
identifier and additional characters. If no
updates are applied, then thenamOO field
is selected to identify theTXTnamOO produced. This name can be used to
uniquely identify updated files. The text
filesdescribed above, for instance, can
have a filetype ofTXTup3. It is
desirable, on occasion, to have entries in
the userCNTRL file that specify a level
identification but no update.A record of
the followingformat. for example. is
allowed:
This isbecause the control file serves a
double purpose and is used for loading text
decks as well as updatinginput files. An
identifier ofTEXT as a name causes special
handling in theVBFASe EXEC procedure.
whether or not an update is used with it.
A name ofiEXT is used without level
identification catenation. Thus,TEXT becomes the filetype. SYSTEM EXEC PROCEDURES Several system control files provide for system update and creaticn. Some EXEC procedures invoke others cr make use of
user-supplied control files to accomplish
various functions such as multilevel
updating, text generation, and macrolibrary generation.
TheVMFASft procedure performs the
multilevel update function by invoking theDftSUPD module (via the CBS UFDITE command) before assembling the desired files. To update and assemble a source file. the VMFASft procedure is invoked in the
following way:VBFASft filename control [options]
where 'filename' is thename of the ASS'lftBLE file to be processed and 'control'
is thenaae of the user CNTRL file that
contains theBICS (macro library), update,
andany lUXxxxx control records. The VMFASM procedure invokes the DftSUPD module via the CMS UPDATE co.mand, passing the
values 'filename','ASSEMBLE', and
'control'.
126IBM V"/370 Service Routines program Logic
updates
Record 5 defines an auxiliary file that
specifies an auxiliary list of
updates that are to be applied. Record 5
defines an auxiliary file identified as
'filename
the
and xxxxx is an update identifier (the
update identifier for an auxiliary control
file cannot be "aux"). Records in the
auxiliary file have the following format
for
and the second field (for example,
applied. The
updated. The filetype of a
used to describe the function of the
particular
and is used to provide additional
in the reverse order in which they appear.
In the previous
be applied in the following order:
in the
usually
separate auxiliary
There can be
definition records, but only one
could be
highest level (last) update to be applied
selects the
identify updated files. In the example, if
the name selected would be
value for the identification usually
consists of a combination of the update
identifier
characters) and additional characters
a
identifier and additional characters. If no
updates are applied, then the
is selected to identify the
uniquely identify updated files. The text
files
have a filetype of
desirable, on occasion, to have entries in
the user
identification but no update.
the following
allowed:
This is
double purpose and is used for loading text
decks as well as updating
identifier of
handling in the
whether or not an update is used with it.
A name of
identification catenation. Thus,
user-supplied control files to accomplish
various functions such as multilevel
updating, text generation, and macro
The
multilevel update function by invoking the
following way:
where 'filename' is the
is the
contains the
and
values 'filename',
'control'.
126