How To Handle Errors; Examples - IBM Series/1 User Manual

Stand-alone utilities
Table of Contents

Advertisement

c
c
HOW TO HANDLE ERRORS
EXAMPLES
If the utility encounters a recoverable error, while processing your input to the operator
station,
it
prints an error message and reissues the prompt. Recoverable errors are:
• Device address not valid (for example, defective character, out of range, not 3
characters)
• Device at specified device address not a disk device
• Invalid initialization type-must be either AS or PI
• Invalid sector address (for example, out of disk range, invalid character, not 6
characters)
• Invalid response to sector flag prompt
The following error types cause a warning message, but allow for normal program
completion without any response from you.
• Unable to recover data in alternate sector mode
• Unable to write sector ID
• Defective sector on cylinder 1
If the utility encounters one of the following three unrecoverable errors, it abnormally
terminates. To reinvoke the initialization utility, you must relPL.
• Unable to assign an alternate sector because alternate cylinder is full
• Unable to initialize because there are too many defective sectors (the maximum is 120
sectors)
• Unrecoverable I/O error
• Attempt to assign alternate for defective sector on cylinder 1
• Unexpected or invalid return codes from external system routines
The following example shows a typical primary initialization session for a disk at device
address 075.
Operator Station Printout
Explanation
IPIOOA EXEC=
FI
FIOOOI DISK INITIALIZATION STARTED
FIII0A DEVICE ADDRESS=
075
FI 120A TYPE=
PI
FI003I PRIMARY INITIALIZATION MODE
FI 150A ARE DEFECTIVE SECTOR
FLAGS INVALID
NO
FI140I ALTERNATE SECTOR
ASSIGNED FOR 240120
FI140I ALTERNATE SECTOR
ASSIGNED FOR 240140
The loader issues a request for the program that is
to be executed.
You enter the name of the Disk Initialization
utility.
The disk initialization utility started.
The utility issues a request for the device address
of the disk to be initialized.
The disk is at device address 075.
The utility issues a request for the type of
initialization you want.
You request a primary initialization.
The utility enter primary mode.
The utility issues a request to find if the defective
flags are invalid.
You specify that the defective sector flags are
valid.
The utility assigned altern a te sectors for defective
sectors 240120 and 240140.
FIOOlI DISK INITIALIZATION COMPLETED
The utility is finished.
Initializa tion Programs
4-7

Advertisement

Table of Contents
loading

Table of Contents