4. If no errors occur during the procedure, then when all the macros
have been added to NEWMAC MACLIB, NEW MAC MACLIB is renamed libname MACLIB. libname MACLIB, if it exists, is erased.
If errors occur during the VMFMAC EXEC procedure (for example, if a MACRO or a COpy file is not found) libname MACLIB is not erased,
and the updated macro library retains the name NEWMAC MACLIB. libname EXEC ct1fi1e CNTRL
contains a list of macro a copy file to be updated
and/or included in libname MACLIB. is the control file used by the UPDATE command. MACRO and
library,
files. COpy files to be updated and/or included in the macro
plus miscellaneous auxiliary control files and update
libname MACLIB 1ibname COpy is the updated macro library.
contains the UPDATES files produced by UPDATE command processing.
The printer is spooled with the CONT option, so that when VMFMAC completes, the printer file contains: A copy of the control files For each updated macro or copy file, the update log file
produced by the UPDATE command. A copy of each macro or copy file is the macro library The libname COpy file, which contains the accumulated UPDATES files created by the UPDATE command.
1. When files with MACRO fi1etypes are added to a MACLIB, the
membername is taken from macro prototype statement. When files
with COpy fi1etypes are added to a MACLIB, the membername is taken
from the filename of the COpy file, (which will be $fi1ename if
updates were found, otherwise filename) unless you include a *COPY statement as the first record in the file, in the format: *COPY membername
Then, the MACLIB directory uses membername to name the copy file.
2. If errors occur during VMFMAC processing, consult the 1ibname COpy file printed by VMFMAC. If you can correct the errors involving
one or two macro or copy files, you can add these members to NEWMAC MACLIB using the MACLIB command, then rename NEWMAC MACLIB to
1ibname MACLIB after erasing the current libname MACLIB. 392 IBM VM/370 Planning and System Generation Guide
VMFMAC The UPDATE command issues the message DMSUPD178I to inform you of the
updates being applied to each macro or copy file. If no updates are
found, message DMSUPD181E is issued.
fname {COpy -} ADDED. MACRO indicates that the specified macro or copy file has been added to
the macro library.
libname COpy ADDED.
indicates that libname COPY, containing the update history, of the MACLIB, has been added.
*** TYPE 'VMFMAC LIBNAME CTL' ***
This message indicates that the command line did not have two
operands.
*** libname EXEC NOT FOUND *** VMFMAC could not locate the EXEC file associated with the macro
library.
*** ctlfile CNTRL NOT FOUND *** VMFMAC could not locate the control file.
*** fn COpy or MACRO NOT FOUND *** A library member named in libname EXEC could not be located.
*** ERRORS UPDATING fn {COpy } *** {
COpy
} MACRO fnameMACRO NOT INCLUDED IN MACLIB This message indicates an UPDATE command error occurred for the
member, and the file was not written into the MACLIB. DUE TO PREVIOUS ERRORS, THE RESULT OF THIS MACLIB BUILD IS CALLED 'NEWMAC MACLIB', libname MACLIB HAS NOT BEEN REPLACED One or more errors were encountered, and you must correct them and
create the MACLIB yourself. Part 5. Updating VM/370 393
Previous Page Next Page