filename
xxxxxxxx
filetype ASSEMBLE Notes
1 The DMSUPD module is executed. The
name of the ASSEMBLE and CNTR L
files and a filetype of ASSEMBLE are
passed to the DMSUPD module. The
DMSUPD module returns a level
identifier and a MACUB (macro library lis A code between 20 and 36 causej the VMFASM EXEC procedure to
display the message *** ERROR UPDATING filename
and return control to the CMS com­ mand environment. If the level identifier is TEXT, TEXT
becomes the filetype of the completed
text deck. If the level identifier
(xxxxx) is not TEXT, the filetype
becomes TXTxxxxx. If the return code is 40 (no updates), the filename is the same as the file­ name of the original ASSEMBLE file. Otherwise, the filename is set to the
updated filename.
Module
VMFASM
2 The MACUB list is read. The VMFASM
VMFDATE module is executed once
for each MACLIB.
The CMS GLOBAL command is issued
to identify the macro libraries that will
be used during the assembly.
3 If any QPtions were specified on the VMFASM
VMFASM command, the message
ASMBLING filename (options ... )
is displayed indicating the specified
options.
Processing
Execute the update module (DMSUPD). (See Diagram 7-5 for details.)
2 Read the macro library list.
3 Indicate the Assembling options.
4 Complete the control file, execute
the VMFDATE module.
(See Diagram 7-4 for details.)
5 Update the log stacked in the
printer.
6 Create a new text file.
7 Erase the intermediate files.
Label Ref Notes I LS -FUPD If no options were specified on the
VMFASM command, the default op-
tions are assumed and the message
ASMBLING filename
is displayed.
The VMFDATE module IS executed
once more to complete the UPDATES
file.
The UPDATES fiie is printed on the
virtual printer and then erased.
filename
xxxxxxxx
filetype
TEXT or
TXTxxxx
u
Program Listing
Module Label ·ASMP VMFASM Viv'iFASM rTF
-DTF
6 The updated file is assembled. If VMFASM -DTF ASSEMBLE returns a nonzero code, the message
*** ERROR ASMBLING filename ***
is displayed. The STATE command is
issued to see if a text deck actually
exists. If the text deck does not exist, the message
*** NO TEXT FOR filename ***
is displayed, the VMFASM EXEC pro­ cedure terminates, and control returns
to the CMS command environment.
7 The new text file, original ASSEMBLE VMFASM -COMB file, and any UPDTxxxx files are
saved. The message EXIT filename{TEXT } CREATED
TXTxxxx
is displayed. All intermediate files are
erased. The printer is closed and con­
trol returns to the CMS command
environment.
Diagram 7-3. Assembling Portion of the V!FAS! procedure
Ref
Chapter 7. Procedures for Generating and Updating VM/370 133
Input filename filetype filemode Notes 1 Six operands should be passed to the
VMFDATE module. The first three
operands are the filename, filetype, and filemode of the input file. The
next three operands are the filename, filetype, and filemode of the output file. 2 If the input file does not exist, control returns to the calling routine.
3 Each time the VMFDATE module is called, it creates an entry in the
VMCNTR L file indicating that an
update was applied. The format of
each entry is: * filename filetype filemode volid date time
The disk label is picked up from the
ADT (Active Disk Table). 4 The UPDATES file is closed and control returns to the calling routine. VFMASM r:hv Module VMFDATE
VMFDATE
VMFDATE
VMFDATE
Processing
Check that the correct number of
operands are passed.
2 Check that the file exists.
3 Create entry in UPDATES file.
4 Close the file. Label Ref Notes
VMFDATE
TEST
Diagra. 7-4. The yftFDATE Progra. 134 IBM VM/370 Service Routines Progra. Logic LF I ... Return to Caller Output I UPDATES file Module I Label Ref
Previous Page Next Page