Recommended Procedures A control file can have any number of update identification (UPDTxxxx) records, AUX file identification (AUXxxxxx) records, and
comments, but can have only one MACS record. Example of a CP Update
Let's assume that you want to update CP, and then load a new CP nucleus.
The updates you are going to make consist of the following:
1. You want to add a command to CP. It has already been assembled
into the file DMKCMD TEXT. The CP module DMKCFC must be updated to
recognize the new command name, so you have updates to apply to
DMKCFC.
2. You have a local update to apply to the CP module DMKSCN. 3. You want to change two members of DMĀ·KMAC MACLIB; you have updates
to apply to ACCTON COpy (for accounting routines) and to RDEVICE MACRO. Since the ACCTON COpy is modified, you have to reassemble DMKACO; changes to the RDEVICE macro require you to reassemble DMKRIO. The procedures that you would use to perform these updates are
described next. Remember that the same procedures can be used when you
apply updates to any of the VM/370 components.
Using VMFASM To Update Source Files If you are going to update a VM/370 module, you should always use the VMFASM EXEC procedure, since it allows you to incorporate IBM-supplied
updates with your own.
The files used in the following example are shown in Figure 36. In
addition to the 194, 294, and 191 minidisks, you should also have access
to the CP assembler language source files on MAINT 394, and the eMS system disk. The search order is:
191 A R/W 294 B/A RIO 194 CIA RIO 394 D/A RIO 190 S RIO This search order ensures that when the command
vmfasm dmkcfc yourown
is issued, the DMKCFC AUXLCL file from the 191 is used, not the copy on
the 294 disK. (The copy on the 191 contains an additional entry for the
second local update file, DMKCFC LOCAL02). The VMFASM EXEC prodecure invokes the UPDATE command with the CTL, STK, and PRINT options. In this example, UPDATE uses the file YOUROWN CNTRL to determine the order in which to apply the updates. Since the IBM auxiliary control file is the last item in YOUROWN CNTRL, updates
named in the file DMKCFC AUXRnO are applied first; then the entries
named in DMKCFC AUXLCL A are applied. Because no file named UPDTLCL exists, no update is applied for that entry in the control file. Part 5. Updating VM/370 335
Recommended Procedures
r ---, , lile1. YOURQWN CNTR1 File: DK!.EnO £!fI.E1 TEXT !!ACS D!!KKAC CKSLIB OSKACRO TEXT KACS DMKMAC CKSLIB OSMACRO LOC2 UPDTLCL TEXT AUXRnO LCL.AUXLCL TEXT AUXRnO i LOCALO 2 ·R 1257 6DK LOCALO 1 LOCALO 1 DMKCFC R 12516DK B DMKCFC LOCAL01 B DMKCFC LOCAL02 A UPDTLCL Qutput File§ DMKCFC TXTLCL A contains updates R12576DK, LOCALO' , and LOCAL02 DMKCFC TXTLCL B contains updates R12516DK and LOCAL01 DMKSCN TXTLOC2 A contains update DMKSCN UPDTLCL 294 (B-disk)
r I I DMKRnO CNTRL I I YOUROWN CNTRL , I DMKCFC AUXRnO I I DPlKCFC R 12576DK I I DMKCFC AUILCL I I DMKCFC TXTLCL I , DKKCFC LOCALOl , L I 194 (C-disk) , , , DMKCFC TEXT I I DMKSCN TEIT , , DPlKPlAC M ACLIB
L ________________ r- I I I , I I I L
191 (A-disk) DMKCFC AUXLCL D!!KCFC LOCAL02 DPlKCFC TITLCL DMKSCN UPDTLCL DMKSCN TITLOC2 394 (D-disk) I DMKCFC ASSEMBLE, I I I DMKCFC ASSEMBLE, I I Figure 36. Files for VPlFASM lAUXRnO may be AUXR40, AUXR50, AUXR60 and so forth, depending on the
release level.
336 IBM VM/370 Planning and System Generation Guide
Previous Page Next Page