R1 ---011.....:1 ___ :> option1
optionn I ASM3705 Source File I •••••• > DMSSTT Lr r-'---------II 0 II ____ -,r Old Assembler Files ADT Notes Module Processing Output
1 Validate the command line. I DMSITS >
2 Validate that the source file exists n on d;,k ,"d ;, ;0 'h' pm", fo'"""n I 3 Find RIW disk space for new assembler files. Label Ref Notes I I ADTLKW OSSFLAGS PARAMLST I DMSARX001E DMSARX003E I
'
PLiST to be STATE Flag II I DMSARX007E I DMSARX006E I Module Label Ref
1 Validate the command line by ensuring DMSARX OPTSCN 3 New files to be used during assembler DMSARX FINDRW that a filename has been specified and
creating an assembler option list. If the filename is not specified, the
message -- -- _ .. -.. - .. - DMSARxOOlt: NO 1-1 Lt:I'IIAMt: SPECIFIED is issued. The option list is built by scanning the command line, checking
the options specified, and placing the valid entries in the PARAMLST table. If an invalid option is specified,
the message DMSARXOO3E INVALID OPTION 'option'
is issued and processing terminates.
2 Verify that the source file exists by DMSARX STAT ASM issuing a STATE command (module DMSSTT). If the file exists but is not
in proper format (SO-character
records), the message DMSARXOO7E FILE 'fn ASM3705' IS NOT FIXED, SO-CHAR. RECORDS is issued and processing terminates. If the file is in proper format, proces­ Sing continues at step 3. I I processing (TEXT, LISTING, and SYSUTI can be obtained from three
sources. If the input file resides on a RIW disk, I that disk is used to contain the TEXT I I and LISTING files generated during
the assembly. If the input file resides on an extension
of the R!W disk, the parent disk is used. If neither of the above disks is a R/W
disk, the user's A-disk is used. If no RIW disk can be obtained, the
message DMSARX006E NO READIWRITE DISK ACCESSED is issued and control returns to CMS via DMSITS. Diagraa 9-7. Co •• and Processor (Part 1 of 2)
Chapter 9. The 3704/3705 Service Progra.s 177
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
Previous Page Next Page