5.
6.
7.
8.
9.10. 11.
12.
13.14. 15.
to leadDMSREA into
saves its address so
called laterduring simulation.
storage and
it can be
theEICP 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 asSYS1.LOGREC • "TOURIST" error file to the
terminal• DIRECTiK work file on disk
Gets theco.mand line arguments and
determines if a control file is
provided for inFut. If so, sets up
to read parametersfrom the control
file, otherwise, sets up to readparameters from the terminal.
Issues aDMSFREE macro to get storage for building OS parameter
list to be passed to EREP.
Gets inFutparameters (from control
file or terminal) and constructs
equivalent as/vsEREP parameter
list andSYSIN control card file.
IfCLEAR was specified, and it vas
not the only parameter specified,
types an errormessage to the terminal and does housekeeping and
exits toCftS. If CLEAR was specified correctly,
calls a subroutine to issue theDIAGNOSE that clears the
approFriate records from theVM/370 error cylinders, then does
housekeeping and exits toCMS. If CLEARF was specified, read CPU and
directorframes 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
inputtaFe if requested and makes sure that it is rewound.
Links toas/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 aSYS1.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 theZERO functien
and is simulated by calling a
subroutine to issue theDIAGNCS! that clears the error records from
the error recording cylinders.
EventuallyOS/VS EREE is done and
control returnsfrom that LINK done
atove.
Housekeeps all indicators and
switches, frees anystorage ottained for the OS Farameter list
area, clears handling ofSVC 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.
RoutinesCalled to find the beginning of
the recording area on thesystem disk,
and thenumber 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 ofCCBOR DASD record address
R13:Save area address
R14: Return address,£;xit R 0: Nonzero: address
recordof being
R1:
R13:
var iable-lengt b
returned.
The first4 bytes are the recerd
descriptor word ccntaining the
recordlength. Zero: end-of-file; no record was at or beyond the entered address.
Address ofCCEOR DASI record
address(soaetimes corrected). Save area address.
216IBM VM/370 Service Routines Prograw Logic
6.
7.
8.
9.
12.
13.
to lead
saves its address so
called later
storage and
it can be
the
(error log),
close as
terminal
Gets the
determines if a control file is
provided for inFut. If so, sets up
to read parameters
file, otherwise, sets up to read
Issues a
list to be passed to EREP.
Gets inFut
file or terminal) and constructs
equivalent as/vs
list and
If
not the only parameter specified,
types an error
exits to
calls a subroutine to issue the
approFriate records from the
housekeeping and exits to
director
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
Links to
appear to access a
set.
18.
cylinders.
is a result of the
and is simulated by calling a
subroutine to issue the
the error recording cylinders.
Eventually
control returns
atove.
Housekeeps all indicators and
switches, frees any
area, clears handling of
returns it to the caller.
Routines
the recording area on the
and the
cylinders.
Attributes
R1: Address of
R13:
R14: Return address
record
R1:
R13:
var iable-lengt b
returned.
The first
descriptor word ccntaining the
record
Address of
address
216