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
Input [
[
[
[
[
GENERATE!
[
[
[
[
[
[
VM370 SRVCPGM DIRECT [ONLY] DMKRIO [ONLY] DMKSYS [ONLY] DMKFCB [ONLY] DMKSNT [ONLY] [CP] [CMS] NUCLEUS ] [NOLOAD]] IPLDECK RSCS [BUILD] IPCS ]
]
] > ... -v Processing
1 Read the control statement.
2 Punch all four of the standalone
service programs.
3 Create a standalone copy of one or all of the service programs. Output DMKDDR DMKDIR DMKFMT IBCDASDI 8 ..... &_l_=S_R_V_CP_G_M ----II f=U rP & ,,\PLDECK I ='===!J 3 card loader and service programs Notes Module Label Ref Not. Module Label Ref
1 If an invalid operand is read, one of the GENERATE ·RMOVE following messages is displayed.
program terminates. Otherwise, DMKSNT, DMKSYS, DMKFCB, and
GENERATE xxxxxxxx-INVALID OPERAND RELEASE3 DIRECT are punched, the
following messages are displayed: NUCLEUS OPTION-(CP/CMS) NOT SPECIFIED 'DMKSNT ASSEMB LE'
2 The message: GENERATE ·SRVC 'DMKSYS ASSEMBLE' THE FOLLOWING STANDALONE SERVICE PROGRAMS ARE BEING PUNCHED ** FORMAT - DIRECT - 'DMKFCB ASSEMBLE' 'RELEASE3 DIRECT DUMP/RESTORE - IBCDASDI ** and processing ends.
is displayed, then each of the four stand- alone service programs is punched and 3 The instructions: GENERATE -IPLGEN the messages; PUNCHING 'IPL FMT ****** PUNCHING 'IPL DIR' ****** PUNCHING 'IPL DDR' ******
ENTER THOSE DECKS TO BE -GTDISK GENERATED (DDR/DIR/FMT/ ALL):
ENTER TARGET DISK ADDRESS: PUNCHING 'IPL IBCDASDI' ***** are displayed on the terminal.
are displayed. If the directory does
not exist, the program terminates. Otherwise, the message: PRINT COpy OF RELEASE3 DIRECT? If the target disk address entered is 190, the filemode is set to A. Other- wise, it is set to B. -RESPOND (YES/NO) A 3-card loader is placed in front of
is displayed. If the response is no, the program terminates. Otherwise a
summary of the GENERATE EXEC
procedure is displayed. See Figure 7-2. each of the service programs specified
and the service program is copied. At
successful completion, one or all of
the following messages
Then, the GENERATE EXEC prints
the directory, DMKSYS, DMKSNT, and DMKFCB. Another message DO YOU WISH TO HAVE A COpy OF DMKSNT, DMKSYS, DMKFCB, AND
RELEASE3 DIRECT PUNCHED TO CARDS? -RESPOND (YES/NO): is displayed. If the response is no, the 'IPL DIR Al' - CREATED 'IPL DDR Al' - CREATED 'IPL FMT Al' - CREATED
is displayed and the GENERATE pro- cedure ends. If an error occurs, an
error message:
xxxxxxxx - INVALID OPERAND. ERROR ON ACCESS OF DISK (xxxxxxx) ERROR WRITING OR BUILDING 'IPL [DIR/DDR/FMTl A' DISK A (xxxxxx) -READ ONLY. is displayed and processing ends. Diagraa 7-14. The GENERATE Procedure (Part 1 of 2)
144 IBft V!/370 Service Routines Progra. Logic
Previous Page Next Page