Input Processing Output 1 Check that load list names and I I Load List -Ilb update identification level is
name
passed to VMFLOAD.
2 Check that the load list EXEC, and CNTR L file exist. If not found, return to CMS. .
3 Read update control file. CMS 4 Invoke the load list EXEC procedure
and build system load deck at 000. 5 Exit to CMS. . CMS Notes Module Label Ref Notes Module Label Ref
1 The load list name is moved into the VMFLOAD VMFLOAD
filename portion of a STATE com- mand line for an EXEC file and a CNTRL file. follow. The DMKLDOOE (nucleus loader) resident nucleus module must
be loaded first and followed by DMKPSA. The DMKCPE module must be the last resident nucleus The update identification level is
moved into the filename portion of
a RDBUF command line for an module loaded. The pageable nucleus modules are ordered so that they efficiently utilize page frames. The EXEC and CNTRL file. OM KSAV module must be loaded last. When the filename and filetype
2 Issue the STATE command via an VMFLOAD
are both specified, that specific file SVC 202 to make sure that the is searched for and punched, if found. load list EXEC and CNTRL files If the file is not found, it is skipped,
exist. If the load list EXEC file is NOLDL the message
not found, the message filename filetype NOT FOUND NO LOAD LIST is displayed, and processing continues
is displayed and control returns to the with the next item in the load list. CMS command environment with a
return code of 4 in register 15. When only the filename is specified, FNDM
the specified control file is used to If the load list CNTR L file is not NOCTR search for the highest level text file DINITD found, the message available. The first text file located NO CONTROL FILE is punched. If the search ends before SRTXT a text file is found, the "filename is displayed and control returns to the CMS command environment with a
return code of 2 in register 15. TEXT" file is punched if it exists. NOFILE If the file is not found, it is skipped,
the message
3 The first record of the control file is VMFLOAD DINITA filename filetype NOT FOUND
read and the class on the macro library is displayed, and processing continues
record is saved. with the next item in the load list. The rest of the control file is read. RDCTR This process continues until every
The control records are chained item in the load list is processed.
together in the proper hierarchy.
5 At this point, the text decks are loaded VMFLOAD ENOL If an error occurs while reading the BDCTR in the proper sequence in the specified control file, the message reader. All files not found vvere
ERROR IN CONTROL FILE identified by messages to the terminal. The message
is displayed and control returns to
the CMS command environment with SYSTEM LOAD DECK COMPLETE a return code of 3 in register 15. is displayed. The punch is set to stop spooling and is then closed. 4 The punch is set to spool continuously. VMFLOAD DINITB The load list EXEC procedure is
invoked by an SVC 202. The text Control returns to the CMS command RETERR
environment. files are punched in the order
specified in the load list. The resident nucleus modules are NOFILE loaded first and the pageable modules Diagram 7-12. The Nucleus Load Program 142 IBM VM/370 Service Routines Prograa Logic
Inal,1 I ru,PLlu, ) )
2 Print control file cntrlname CNTRL. Erase NEWMAC MACLIS and I PLiST I I cntrlname 10 Notes Module
1 If a list of the members to be put in the VMFMAC macro library (maclibname EXEC) is
not found, the message I maclibname EXEC NOT FOUND is displayed and control returns to CMS with a return code of 101. I If the file containing the updates is I I not found, the message
cntrlname CNTRL NOT FOUND is displayed and control returns to I CMS with a return code of 102. 2 The control file cntrlname CNTR L is VMFMAC printed. The files NEWMAC MACLIS and NEWMAC COpy are erased.
3 If a macro or copy file is not found, VMFMAC the message
*** filename COpy OR MACRO NOT FOUND ***
is displayed. The final return ccx:le is
set to 104 and processing continues
with the next member.
The UPDATE command is issued for each macro or copy file. If an error
occurs, the message *** ERRORS UPDATING member-
name membertype ***
membername membertype NOT INCLUDED IN MACLIS is displayed on the terminal, the files membername UPDATES and member- NEWMAC COPY. 3 Update macro and copy files. Add them to NEWMAC MACLIS. Print new members.
Control file 4 Erase any existing libname MACLIS. Rename NEWMAC MACLIS to libname MACLIS. II! /
New macro and copy files Label Ref Notes Module Label
-ASGN name membertype are printed. The
final return code is set to 105 and
processing continues with the next
member. If the update procedure is successful, -MACUP VMFDATE is executed to date stamp IOSTeTL I I I the file, and the member is added to I I the NEWMAC MACLIS. The new
member is printed. To maintain a
history of the updates that were I applied, a line is added to NEWMAC COPY, a dummy copy file.
-STKL
4 After all macro and copy files have -RENEWCC been processed, the NEWMAC COpy file is renamed to libname COpy and
added to N EWMAC MACLI S. Any
-AREAD
existing libname MACLIS file is
erased and the NEWMAC MACLIS is renamed to libname MACLIS. If the update procedure is unsuccessful, -ERR2
the message
DUE TO PREVIOUS ERRORS, THE
RESULT OF THIS MACLIS SUILD IS CALLED 'NEWMAC MACLIS' libname -MACUP MACLIS HAS NOT SEEN REPLACED -UPDERR
is displayed at the terminal ar:c a
return is made to CMS with the final return code as previously described.
Diagram 7-13. VftFftAC--The Macro Library Creation Procedure II Ref I I I Chapter 7. Procedures for Generating and updating V!/370 143
Previous Page Next Page