Input Processing Output
PLIST I GRl ....---.......,) Validate command line. ) Notes Moduli 1 A filename must be specified. If it is DMSARN not, the message
DMSARNOO1E NO FILENAME SPEC- IFIED is issued and processing terminates.
The COMPSWT bit is set on in OSSFLAGS to indicate the 3705 assembler is running. The option list to be passed to the 3705 assembler
is built. If Batch is running, the message
ASSEMBLING filename Al is displayed and steps 2 and 3 are
skipped.
2 The STATE macro is issued to check DMSARN
that the input file exists and has
fixed 80-character records. If the
record format is wrong, the message
DMSARNOO7E FILE filename IS NOT FIXED, 80 CHAR. RECORDS is issued and processing terminates.
3 If the input file resides on a read/ DMSARN
write disk, that disk is used to contain
the text and listing files that are
generated. If the input disk is an extension of a
read/write disk, the parent disk is
used. Otherwise, the A disk is used.
2 Oleck that the source file exists
and has the proper format.
3 Locate read/write disk space.
4 Define the necessary files. 5 Pass control to the 3705 Assembler
program.
6 Return to CMS. Label Ref Notes DMSARN
4 All the old text, listing, and utility files for the current file are erased.
Free storage is initialized and enough
storage to contain the longest assemble
path is obtained via a GETMAIN call. SQUEEZE FI LEDEFs are issued for SYSUT1, SYSUT2, SYSUT3, SYSIN, TEXT, SYSPUNCH (if the DECK option was
specified), SYSPRINT (if the NOPRINT option was not specified), LISTING, and CMSLlB. SUIT15 5 Control is passed to IFKASM. 6 If the return code is not zero, one of
the following messages is issued SUIT25 DMSARN004W WARNING MESSAGES ISSUED DMSARNOOSW ERROR MESSAGES ISSUED DMSARNOl2W SEVERE ERROR MESSAGES ISSUED DMSARNOl6W TERMINAL ERROR MESSAGES ISSUED SUIT17 The output files are closed and the
utility files SYSUT1, SYSUT2, and SYSUT3 are erased. All FCBs are
cleared, OSSFLAGS is reset, and control returns to CMS. Diagram 9-6. DMSARN--ASM3705 Command Processor
176 IBM VM/370 Service Routines Program Logic OPSTART I options
FCBs Module DMSARN
DMSARN
DMSARN Label Ref CONTINUE NOERASE LlST2
RETURN SUIT19
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
Previous Page Next Page