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
Input Processing Output I GRl > 1 Process the command line. :> 10PTLIST 2 If filename not specified, find and :> 8 read dump spool file. CMS Dump File 3 Define files.
Reader spool File A. Set up the FILEDEF commands. :> CJ B. Check that the dump file exists.
C. Execute FI LEDEF commands.
D :> 4 Call the OS dump program. > 5 Return to CMS. DUMP •. ._-- Notes Module Label Ref Notes Module Label Ref
1 If the second parameter in the input DMKRND NCPDUMP DMKRND8501 UNABLE TO READ line starts with DUMP, the name of DUMP FROM READER
the CMS file is saved in the output TESTOPT FSCB. The appropriate options are
3
marked in the OPTLIST. If there are A. The name of the CMS dump file DMKRND
no options specified, FORMAT, no MNEMONIC, and no ERASE are
is put in the SVSUT2 and SVSIN FI LEDEFs and in the control STRTDUMP
assumed. If an invalid option is statement skeleton for the
specified, the following message is IPLDUMP processor.
generated
DMKRND863E INVALID PARA-
METER 'xxxxxxxx'
and control returns to CMS with a
return code of 24.
B. The STATE macro is issued to
check that the CMS dump file exists. If an error is retumed, the following message is generated
DMKRND861E FILE 'DUMPnn
2 If the name of a CMS dump file was DMKRND LOOKLOOP
NCPDUMP' NOT FOUND not specified, DMKRND assumes
the dump file is in the reader. The filename of the output file is set to
DUMPOO through DUMP09 and the STATE macro is issued until a dump file is found. If an available name is
The SVSIN record is created, using
the specified user options, any old SVSIN file is erased, and the new SVSIN file is written to the DUMPnn SVSIN file. If the record cannot
not found, the following message is
be written, the message
generated. DMKRND8701 UNABLE TO DMKRND851I TEN DUMP FILES ALREADV EXIST CREATE CONTROL FILE FOR IPLDUMP and control returns to CMS with a re- is issued and control returns to CMS. turn code of 22.
C. The following commands are issued LlNKDMP
The reader is spooled class E and the READNXT
to simulate an OS interface. spool file is read via a DIAGNOSE instruction. The records are deblocked DUMPWRT
and written to the CMS dump file.
The read/write loop continues until the real spool file DIAGNOSE instruc-
tion returns a nonzero return code.
When the end of file is reached, the FILEDEF SVSUT2 DISK DUMPnn
NCPDUMP Al (XTENT 513
NOCHANGE FI LEDEF SVSIN DISK DUMPnn SVSIN Al FILEDEF SVSPRINT PRINTER message
4 DMKRND loads register 1 with the DMKRND
'DUMPnn NCPDUMP' FILE address of a dummy parameter list CREATED and links to IFLDUMP. If the
is issued, the spool file is closed, and
processing continues. If the reader
return code from IFLDUMP is not
zero, it is passed to CMS. was empty or if a read error occurs, an
error message is issued.
5 If the return code from IFLDUMP DMKRND
is zero and ERASE has been requested, DMKRND8531 NO DUMP FILES EXIST the DUMPnn file is erased, and the following message is generated
'DUMPnn NCPDUMP' FILE ERASED Diagram 9-9. DMKRID--ICPDUMP Co.mand Processor 180 IBM VM/370 Service Routines progra. Logic
Previous Page Next Page