The text read off it
[02.07.07]
b) Facilities for Programmer Error Recovery
IOCS cannot continue processing after discovering an unrecoverable redundancy error, a block checksum error or a block sequence error without direction from the programmer. The ON ERROR option of the Environment FILE card provides for communication between IOCS and the programmer in these three error situations.
In certain simple error situations such as an unrecoverable redundancy error discovered in a file whose records are complete within the block, the programmer may elect to return directly to the GET command ignoring the error(s) in the unreadable record. This is accomplished by specifying in the ON ERROR clause of the FILE card the procedure.name associated with the GET command.
Recovery from most errors, however, is much more complex. The nature of the error discovered by IOCS must be obtained and analyzed by the programmer and then recovery attempted with or without IOCS routines. A detailed explanation of IOCS facilities available to the Commercial Translator programmer is given in the IOCS manual (primarily pages 17 and 18).
c) System Action When Programmer Recovery not Attempted
If the programmer does not provide for error recovery through the ON ERROR clause, when an IOCS-unrecoverable error is discovered during execution of the object program, the system prints an on-line message describing the type of error and the name and certain characteristics of the offending file. Control is then returned to the Commercial Translator Supervisor for processing the next job.
D. Usage of the FILE Command
The FILE command transmits a record from a reserved memory area or an input buffer to an output buffer area for automatic processing onto tape or cards.
1. Forms of the Command
a) FILE record.name
The command "FILE record.name" causes a record to be filed in the output file(s) with which it has been associated through the Environment Description. A record so filed is still available for further processing. However, if the record carries the option PRIMARY in one or more of the output files to which it is associated with in the Environment Description, it is only filed in those files wherein it is so classified.
