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 oneMACS   record.  Example   of  a  CP  Update  
Let's assume that you want to updateCP,   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 fileDMKCMD   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 toACCTON   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 theVM/370   components.  
UsingVMFASM   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
tothe   CP   assembler  language  source  files  on  MAINT   394,  and  the  eMS   system  disk.  The  search  order  is:  
191A   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, theDMKCFC   AUXLCL   file  from  the  191  is  used,  not  the  copy  on  
the 294disK.   (The  copy  on  the  191   contains  an  additional  entry  for  the  
second local update file, DMKCFCLOCAL02).   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 fileDMKCFC   AUXRnO   are  applied  first;  then  the  entries  
named in DMKCFCAUXLCL   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  
comments, but can have only one
Let's assume that you want to update
The updates you are going to make consist of the following:
1.
into the file
recognize the new command name, so you have updates to apply to
DMKCFC.
2.
to apply to
described next. Remember that the same procedures can be used when you
apply updates to any of the
Using
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
191
vmfasm dmkcfc yourown
is issued, the
the 294
second local update file, DMKCFC
named in the file
named in DMKCFC
            
            








































































































































































































































































































































































































































































































































