5.
6.
7.
8.
9. 10. 11.
12.
13. 14. 15.
to lead DMSREA into
saves its address so
called later during simulation.
storage and
it can be
the EICP Establishes handling of SVC 76
(error log), SiC 18 (BLDL), and SVC o (EICP). Invokes FILEDEF function to define: Printer file for EREP SYSIN file to be created for EREP Dummy file for EREP to open and
close as SYS1.LOGREC "TOURIST" error file to the
terminal DIRECTiK work file on disk
Gets the co.mand line arguments and
determines if a control file is
provided for inFut. If so, sets up
to read parameters from the control
file, otherwise, sets up to read parameters from the terminal.
Issues a DMSFREE macro to get storage for building OS parameter
list to be passed to EREP.
Gets inFut parameters (from control
file or terminal) and constructs
equivalent as/vs EREP parameter
list and SYSIN control card file.
If CLEAR was specified, and it vas
not the only parameter specified,
types an error message to the terminal and does housekeeping and
exits to CftS. If CLEAR was specified correctly,
calls a subroutine to issue the DIAGNOSE that clears the
approFriate records from the VM/370 error cylinders, then does
housekeeping and exits to CMS. If CLEARF was specified, read CPU and
director frames from SRF device and
write on error cylinder.
Invokes FILEDEF to define the
accumulation tape file if
requested. Issues the tape control
macros necessary to position tape
for subsequent write operations.
Invokes FILEDEF to define history
input taFe if requested and makes sure that it is rewound.
Links to as/iS EREP (IFCEREP1). Simulates BLDL SVCs issued from OS/VS EREP. Simulates EIEC SVCs issued from as/iS EREP so they will
appear to access a SYS1.LOGREC data
set. EICP simulation viII result 16. 17.
18. Dft SREA in calls to DMSDEA to get records from VM/370 error recording
cylinders. An EXCF that attemFts to rewrite the SYS1.LOGREC header
is a result of the ZERO functien
and is simulated by calling a
subroutine to issue the DIAGNCS! that clears the error records from
the error recording cylinders.
Eventually OS/VS EREE is done and
control returns from that LINK done
atove.
Housekeeps all indicators and
switches, frees any storage ottained for the OS Farameter list
area, clears handling of SVC 0, SVC 18, and SiC 76; and clears any FILEDEFs that were set up by CPEREP. Exits to CMS. Reads a specified logical record from the VM/370 error recording cylinders and
returns it to the caller.
Routines Called to find the beginning of
the recording area on the system disk,
and the number of error recording
cylinders. DIAGNOSE 1'30' to read a Fage size recerd from the error recording cylinders. tMSERR via macro SVC to write error messages to the console.
Attributes --Nonreusable, CMS User Area, enter via CALL. !!gist!£§ Ent!I
R1: Address of CCBOR DASD record address
R13: Save area address
R14: Return address ,£;xit R 0: Nonzero: address
record of being
R1:
R13:
var iable-lengt b
returned.
The first 4 bytes are the recerd
descriptor word ccntaining the
record length. Zero: end-of-file; no record was at or beyond the entered address.
Address of CCEOR DASI record
address (soaetimes corrected). Save area address.
216 IBM VM/370 Service Routines Prograw Logic
R15: One of
codes:
Return 00 04 08 60 the following return Nothing unusual. Empty 4K block skipped.
Invalid CC value in CCBOR address that was
entered.
I/O error accompanied
by message DMSIFC830E. Usage RO-R 9: Scratch Rl0-Rll: R12:
R13:
R14-R15: Spares, not used
Base Save area address Scratch None. The functions performed by D!SBEI can he summarized as follows:
1.
2.
3.
4.
Issues the DIIGHCSE command to find
the beginning of the V!/370 error
recording cylinders and the number of cylinders.
Reads a requested record from the V!/370 error recording cylinders.
Returns the next logical record to
the caller when the requested
record does not exist or cannot he
read and revises the caller's
specified CCBOR address
accordingly.
Handles errors. Chapter 11. D MSIFC and SR !A-- FR FP /Error Recor din 9 Interface 217
Previous Page Next Page