Input filename xxxxxxxx filetype ASSEMBLE filename xxxxxxxx
filetype CNTRL Notes
1 The CMS commands executed and the
return codes that result will not be
displayed on the virtual machine console. 2 The default options are: PR I NT, TERM, LIST, NODECK, NORENT, SYSPARM(SUPI. XREF(SHORT), and NOR LD. The options specified
for the VMFASM EXEC are: DISK, NOTERM, NOLlST, DECK, RENT, EXP, XREF, and RLD.
3 The CMS STATE command is executed.
A nonzero return code indicates that
the ASSEMBLE file was not found.
4 The CMS STATE command is executed.
A nonzero return code indicates that
the CNTRL file was not found.
5 The CP SPOOL command is executed.
Module
VMFASM
VMFASM
VMFASM
VMFASM
VMFASM
Processing > Set EXEC control off.
2 If any options are specified, reset
the default option to the specified
option.
3 Check that the ASSEMBLE file exists. If file not found, issue
message, set return code=1 and
exit.
4 Check that the control file exists. If file not found, issue message, set
return code=2 and exit.
5 Set up printer to spool continually. Label Ref Notes ·STSYS ·STCTL ·FUPD ur I "" .. CMS Diaqram 7-2. Initialization of 132 IB! VM/310 Service Routines Progra. Logic
Output *** filename ASSEMBLE NOT FOUND *** *** filename CNTRL NOT FOUND ***
Module Label Ref
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
Previous Page Next Page