Handling logic errors (register 0=14 and register 0=18)

Most return codes that cause entry to a LERAD exit routine are likely to occur only when the program is being debugged. These errors require that the program save as much information as necessary for debugging, perhaps request a dump of storage, and terminate the program at that point. After the program is debugged, a message to the operator can be substituted for program termination in the event that a logic error occurs.