Input SYSUT1 Records I ASMSW2 fTE!T¢ DMSERS DMSSMN DMSKEY DMSFLD > I •••••• > DMSSMN DMSERR i •••••• )' Processing
4 Define the files required during the assembly and call the assembler. I I •• e ••• :> 5 Manage output records for SYSUTt file. DMSERS DMSSMN DMSKEY DMSFLD I •••••• > I CWAXOO I •••••• > DMSSMN DMSERR c=J]J FSr. '0' ... Fn", rL SOURCE CMSLlB SYSTERM SYSUT LISTING TEXT Notes 4 DMSERS is called to erase the old TEXT, LISTING, and SYSUT files
associated with the new input file. DMSSMN (GETMAIN) is called to
obtain enough storage to contain
the SYSUT1 work file.
When disk space is obtained for the
required assembler files and for the
files CMS needs (SYSTERM and CMSLlBl. FILEDEF commands are
issued to convert all the files to CMS format. The assembler is then called
and begins processing.
5 If possible, all SYSUTt records are
kept in virtual storage during an
assembly. However, when virtual
storage is exhausted, records are
written to disk. If the records must be written to disk,
they are formatted to fit DASD requirements and moved to disk a
record at a time.
6 All SYSUT files used during the
assembly are erased via a call to DMSERS. DMSFNSA is called to
close all files and DMSFLD is called
to clear all FILEDEFs not defined
with the PERM option. COMPSWT in OSSFLAGS is turned off to indicate
that the assembler is no longer
processing, the auxiliary directory
list is released, and control returns to , ...... > DMSERS DMSFNSA Module 6 Process assembler output and
handle errors.
Label Ref Notes Ie •••.•• > I DMSERS DMSFNSA , ...... > DMSITS DMSARX ERASE CMS via DMSITS. FILEDEF LOADASM DMSARX ASMPROC SYSWTX DMSARX ERASUTS RETURN
Diagram 9-7. DMSARX--ASM3705 Command Processor (Part 2 of 2)
178 IBM VM/370 Service Routines Program Logic Output a FSTs for Assembler Files:
SOURCE SYSUT CMSLlB LISTING SYSTERM TEXT OSSFLAGS I COMPSWT I 8D SYSUT1 Disk or Virtual
R15
Return
code from
assembler
Module Storage Label Ref
Input Processing Output I eMS I I I PUST El I GRl filename I > Check for filename.
options OPTLIST 2 Convert CMS options to OS format. > I ADT (Active I P Disk Table) I I I 3 Check input file.
4 Issue FILEDEF for SYSLlN, I rr==!> SYSLMOD, SYSUT1, SYSTERM, and SYSPRINT. I 5 Erase the old SYSPRINT and I I Notes I 1 The first operand on the LKED com-
mand must be the filename. If it is
not, the message DMSLKDOO1E NO FILENAME SPECIFIED is displayed. The filename specified is
used as the default FI LEDEF filename.
2 If anything other than options follows
the filename, the message DMSLKD070E INVALID PARAMETER
'parameter'
is issued. Flags are set to reflect the
following options - PRINT, NOPRINT, DISK, SIZE, NAME, TERM, NDTERM'I and LISE. If they are specified,
membername and libraryname are
moved into the FILEDEF commands. If NAME or LISE is specified without
a corresponding name, the message DMSLKDOO5E NO 'option' SPECIFIED is issued.
3 The STATE macro is issued to check
that the input file exists. If it does not,
the message DMSLKDOO2E FI LE 'fn ft' NOT FOUND is issued. If the input file does not
contain fixed 80-character records,
the message DMSLKDOO7E FILE 'fn ft' IS NOT FIXED, 80 CHAR. RECORDS is issued. 4 The CMS file definition function is
called to create a file control block
for each of the linkage editor
DDNAMEs: SYSLlN, SYSLMOD, SYSUT1, SYSTERM, SYSPRINT. Standard file definitions are performed
unless otherwise specified on the
command line. Module DMSLKD DMSLKD DMSLKD DMSLKD SYSUTl disk files. FCSs 6 call the OSiVS iinkage editor.
7 Clear the FI LEDEFs. Label Ref DMSLKD OUTLOOP2 OUTLOOP2 PRTDEF
Notes
5
6
7 If no read/write disk is accessed for
the SYSUTl file, the message DMSLKDOO6E NO R EAD/WR ITE DISK ACCESSED is issued.
The CMS erase function is called to
delete 2 disk files: 'fn SYSUT1' and
'fn LKEDIT' (fn = the input filename). Control is passed to the OSNSl link-
age editor root phase (HEWLFROU)
with the specified parameters and the
default member name.
The command FILEDEF * CLEAR is issued to cancel all the file control
biocks. If the return code from the linkage
editor is not zero, one of the following
messages is displayed. DMSLKDOO4W WARNING ERROR MESSAGES ISSUED DMSLKDOOaw ERROR MESSAGES ISSUED DMSLKD012W SEVERE ERROR MESSAGES ISSUED DMSLKD016W TERMINAL ERROR MESSAGES ISSUED Control then returns to CMS, with the
return code in register 15. Module DMSLKD DMSLKD nllll I D
Diagra. 9-8. D!SLKD--LKED Co •• and Processor Label PRTDEF CALL roA11 PROCERR EXIT I Ref I Chapter 9. The 37C4/3705 Service Programs 179
Previous Page Next Page