Input Processing Output
DUMMYFCB
DUMMY :> 1 Initialize the output FSCB. OUTFSCB DUMMY
A1 rr==> 2 Scan the input file for the I/SYSPUNCH card. INPFSCB r-- I FILNAM, I -- Input file I Data I Notes Module 1 The filetype in the dummy FSCB is DMSGRN initialized to ASM3705. Each ASM3705 file has a filename consisting
of the first 6 characters of the filename
(or the entire filename if it is 6
characters or less) concatenated with
a number. The FSCBWT routine uses
the dummy FSCB to initialize the OUTFSCB. 2 The input file is scanned for a DMSGRN SYSPUNCH or SYSPUNCH continuo
ation card. If found, it is scanned for
the DSN= or DSNAM E= keyword. The DSNEDIT routine then saves the memo
bern a me of the data set in the current SYSPUNCH membername savearea.
3 The input file is scanned for the DMSGRN SYSIN card. All cards scanned pre· ceding the SYSIN card must have *
or II in the first positions of the card.
Otherwise DMSGRN078E INVALID CARD IN INPUT FILE 'xxxxxxxxxxxxxxx'
is issued.
4 The FSCBRD routine reads all the DMSGRN input and the FSCBWT routine writes
it to the output file.
5 The output file is closed by branching DMSGRN and linking to the FSCBCLOS routine.
Close errors are ignored.
3 Scan the input file for the I/SYSIN card.
4 Write the input file to the output
file.
5 Close the output file.
6 Build the statements necessary to
do the assembling. Label Ref Notes IFKASM 6 The ASMFI RST bit in the PROCSW1 byte is tested. If the bit is on, the
GEN parameter in the TXTLIB com-
mand is changed to ADD. Otherwise, the bit is turned on.
The name of the output assembler file ASMMEM 8 ASM3705 output file ASM3705 xxxxxxxx (PRINT) EDIT xxxxxxxx TEXT A1
[GEN]
TXTLIB [ADD] xxxxxxxx
yyyyyyyy ERASE xxxxxxxx TEXT Module Label DMSGRN ASMSTAK ASMSTAK2 is moved into the ASM3705 and EDIT commands. The FSCB base address
is changed and the name of the input IFKASM10 file is put into the TXTLIB command.
The SYSPUNCH membername is then ASMSTAK4 moved to the TXTLIB command. IFKASM34 The number of commands and the ASMSTA!<6 address of the first command in the
stack are loaded from ST ACKASM IFKASM40 into registers 1 and 2 respectively. IFKASMAO IFKASMKO Diagram 9-4. DMSGRN--Generating the 3705 Assembler Files
174 IBM VM/370 Service Routines Progra. Logic
Ref
Processing DUMMYFCB -.=====""""'1) 1 Initialize the output FSCB. ....- DUMMY
DUMMY
A1 INPFSCB I FILENAME I Input file t../Data Notes Module 1 The filetype in the dummy FSCB is DMSGRN initialized to TEXT. Each linkage
editor TEXT file has a filename con-
sisting of the first 6 characters of the
filename (or the entire filename if it
2 Save the linkage editor options.
3 Scan the input file for the SYSLIN control card.
4 Write the output linkage editor
file.
5 Close the output file.
6 Build the statements necessary
to do the link editing. Label Ref Notes Lr I I I tL IEWL Close errors are ignored.
6 The LKDFIRST bit in the PROCSW1 byte is tested. If it is off, it is set on
and the filename of the input file is
filenaLn
text
a1 B Output file ERASE NCPTEMP LOADLIB A FILEDEF SYSLIB DISK .. . FILEDEF SYSLMOD DISK .. .
LKED xxxxxxxx (PRINT NOTERM FILEDEF SYSLIB DISK FILEDEF xxxxxxxx DISK OBJ3705 TEXTLIB A 1 ... FILEDEF xxxxxxxx DISK NCPTEMP LOAD LIB A1 ...
F!LEDEF SYSLMOD DISK xxxxxxxx LOADLIB A1 ...
LKED xxxxxxxx ( ... Module Label FSCBCLOS DMSGRN LKDSTAC!< Ref
is 6 characters or less) concatenated moved into the FILEDEF and LKED With L and a number. I The IIEXEC card is edited for the DMSGRN keyword PARM=. The linkage editor
options are moved to the option field
of the LKED command. EXEC con-
tinuation cards are ignored.
3 The input file is scanned for the DMSGRN IEWLJCL2 SYSLI N card. All cards scanned pre-
ceding the SYSLIN card must have *
or II in the first positions. Otherwise, the error message DMSGRN078E INVALID CARD IN INPUT FILE 'xxxxxxxxxxxxxxx'
is issued.
4 The FSCBRD routine reads the input
file and the FSCBWT routine writes
it to the output file.
The ED!TIN routine scans for the key­ word ENTRY. If the keyword
ENTRY is found, the IEWLENT routine moves the entry name to the SAVENCP statement. DMSGRN IEWLSN10 IWRTSIN lEWlENT 5 The output file is closed by branching DMSGRN IEWLSEOF and linking to the FSCBCLOS routine.
commands. Aiso, the command
count and address from STAKLKD1
are loaded into registers 1 and 2. If the LKDFIRST bit is on, the
command count and address from
ST ACKLKD2 are loaded into
registers 1 and 2.
Diagram 9-5. DMSGRN--Generating the Link Edit Files I ILKDSTJ I Chapter 9. The 3704/3705 Service Programs 175
Previous Page Next Page