VM370 Rel 6 Service Routines Pgm Logic (Mar79)
Page164(164 of 269)
Input Processing Output ______ ) 4 Build a new CP nucleus. l &l=CP 1 &2=NUCLEUS [&3=NOLOAD --I o CP Nucleus Notes Module Label Ref Notes Module Label Ref 4 The load list name is set to CPLOAD GENERATE -CP PRT' TO GET THE CPLOAD MAP. and the control file &CTL is set. The WHEN PRINTING IS COMPLETE, message SHUTDOWN THE SYSTEM AND VIRTUAL=REAL OPTION RE- IPL THE NEW SYSRES VOLUME. QUIRED (YES, NO!: is displayed on the terminal. If is displayed. If you respond yes, the message STORAGE SIZE OF VIRT=REAL &3=NOLOAD, the tape is not loaded. Otherwise the tape containing the CP nucleus is loaded. Processing ends. <MINIMUM IS 32K> If the CP system does contain a virtual= -REALlPL is displayed. If you enter a storage size that is not a mUltiple of 4K, the message real area, however, the tape containing the CP nucleus is not loaded, and the following message is displayed: ** SIZE ROUNDED UP TO NEXT HIGHER 4K BOUNDARY ** TO LOAD THE CP NUCLEUS JUST CREATED, SHUTDOWN THE SYSTEM ANDTHENIPLTHETAPE. THE is displayed. The messages CPLOAD MAP WILL AUTOMATICAL- STORAGE SIZE FOR VIRTUAL= L Y BE PRINTED AT THE PRINTER REALnnnnK WHOSE ADDRESS IS 'OOE'. IF IS THE ABOVE ENTRY CORRECT THERE IS NO PRINTER AT THIS (YES, NO): ADDRESS THE LOAD MAP WILL BE are displayed. If you respond no, the process is repeated. If you respond yes, the value of the storage size is set in the DMKSLC TEXT file. If an error occurs, the message PRINTED AT THE FIRST PRINTER CAUSING AN INTERRUPT, (IE. NOT READY TO READY SEQUENCE). ONCE THE NUCLEUS HAS BEEN LOADED, YOU MAY IPL YOUR NEW CP SYSTEM RESIDENCE ERROR WHILE WRITING "DMKSLC VOLUME. TEXT" FILE NOTE: THERE MUST BE ENOUGH is displayed, and the system will be built without a virtual=real area. Otherwise, the load list name is set to VRLOAD. STORAGE ON THE SYSTEM (VIRTUAL OR REAL!, TO CONTAIN THE VIRT=REAL AREA AND THE CP NUCLEUS. The VMF LOAD program is invoked -BUILD Processing ends. to load the modules and the CP nucleus is then written on tape. If an error occurs while writing the CP nucleus to tape, one or more of the The message following messages appears: NUCLEUS NOW ON TAPE TAPE (182) - NOT READY OR NOT ATTACHED is displayed. If the CP system was built without a virtual=real area, the HIT RETURN WHEN READY OR 'EXIT': ERROR BUILDING xxxxxxxx message NUCLEUS. WHEN 'NUCLEUS LOADED ON ERROR WRITING CP NUCLEUS TO xxxxxx' IS TYPED, ISSUE 'CLOSE TAPE. Diagram 7-15. Generating a CP System (Part 2 of 148 IBM VM/370 Service Routines Prograa Logic
Program Organization Tbe fM/370 procedures for generating and updating VM/370 consist of three EXEC procedures (VMFASM, VMFMAC, and GENERATE) and three modules (VMFDATE, DMSUPD, and VMFLOAD). The Assembler language update procedure consists of the VMFASM EXEC procedure and two modules (VMFDATE and DMSUPD). The VMFASM EXEC procedure sets up for the assembly by calling DMSUPD to create the update control file. There is an entry in the VMCNTRL file for each update control and auxiliary update file. The VMCNTRL identifies the updates applied to the original assembler program and the date and time they were applied. The Assembler language update procedure calls the VMFDATE program. The MACLIBs needed are then included in the VMCNTRL file. The nucleus loader procedure consists of a program (VMFLOAD) and an EXEC procedure. Although the DMSUPD update program is not used, the centrol file that it creates may te used. The LOADER EXEC procedure lists the nucleus modules in the order they are to be loaded. The list includes the filename of each module and may opticnally include the update level. If the update level is not specified, the control file created 1:y DMSUPD is used te locate the highest level update available, and that level of the module is leaded. When nucleus modules are updated and loaded, it is often necessary to create a new macro library. ThE level of macro lil:rary needed for each updated module is recorded in the VMCNTRL file created by the VMFrATE module. The VMFMAC EXEC procedure creates a new macro library. The GENERATE EXEC prccedure reassembles the DMKRIO, DMKSYS, Dl8FCB, and DMKSNT modules by using the EXEC procedure. It loads the CP, CMS, or RSCS.nucleus using the VMFLOAD program. In addition, it can build a new VM/370 directory, punch the standalone service programs, or make a self-relocating copy of the service programs, or load the IPCS modules from tape onto the IPCS A-disk. Chapter 7. Procedures for Generating and updating VM/370 149