filename
xxxxxxxx
filetypeASSEMBLE Notes
1 The DMSUPD module is executed. The
name of theASSEMBLE and CNTR L
files and a filetype ofASSEMBLE are
passed to the DMSUPD module. The
DMSUPD module returns a level
identifier and aMACUB (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 theCMS com mand environment. If the level identifier is TEXT, TEXT
becomes the filetype of the completed
text deck.If the level identifier
(xxxxx) is notTEXT, 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 TheMACUB list is read. The VMFASM
VMFDATE module is executed once
foreach MACLIB.
TheCMS GLOBAL command is issued
to identify the macro libraries that will
be used during the assembly.
3If any QPtions were specified on the VMFASM
VMFASM command, the message
ASMBLING filename (options ... )
is displayed indicating the specified
options.
Processing
Execute theupdate module (DMSUPD). (See Diagram 7-5 for details.)
2 Read the macro library list.
3Indicate the Assembling options.
4 Complete the controlfile, 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 NotesI 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 moduleIS executed
once more to complete the UPDATES
file.
TheUPDATES 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
*** ERRORASMBLING filename ***
is displayed. TheSTATE 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 EXECpro cedure terminates, and control returns
to theCMS command environment.
7 The new textfile, original ASSEMBLE VMFASM -COMB file, and any UPDTxxxx files are
saved. Themessage EXIT filename{TEXT } CREATED
TXTxxxx
is displayed. All intermediate files are
erased. The printer is closed and con
trol returns to theCMS command
environment.
Diagram 7-3. Assembling Portion of theV!FAS! procedure
Ref
Chapter 7. Procedures for Generating andUpdating VM/370 133
xxxxxxxx
filetype
1 The DMSUPD module is executed. The
name of the
files and a filetype of
passed to the DMSUPD module. The
DMSUPD module returns a level
identifier and a
display the message
and return control to the
becomes the filetype of the completed
text deck.
(xxxxx) is not
becomes TXTxxxxx.
updated filename.
Module
VMFASM
2 The
VMFDATE module is executed once
for
The
to identify the macro libraries that will
be used during the assembly.
3
VMFASM command, the message
ASMBLING filename (options ... )
is displayed indicating the specified
options.
Processing
Execute the
2 Read the macro library list.
3
4 Complete the control
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
VMFASM command, the default op-
tions are assumed and the message
ASMBLING filename
is displayed.
The VMFDATE module
once more to complete the UPDATES
file.
The
virtual printer and then erased.
filename
xxxxxxxx
filetype
TEXT or
TXTxxxx
u
Program Listing
Module Label
-DTF
6 The updated file is assembled.
*** ERROR
is displayed. The
issued to see if a text deck actually
exists.
***
is displayed, the VMFASM EXEC
to the
7 The new text
saved. The
TXTxxxx
is displayed. All intermediate files are
erased. The printer is closed and con
trol returns to the
environment.
Diagram 7-3. Assembling Portion of the
Ref
Chapter 7. Procedures for Generating and