Routine ID: N001 | |
---|---|
Author(s): H. Lipps | Library: KERNLIB |
Submitter: | Submitted: 22.10.1984 |
Language: Fortran | Revised: 15.03.1993 |
PARTIALLY OBSOLETE
Please note that, as a consequence of transferring subprograms
from KERNLIB to MATHLIB, this routine has been partially
obsoleted in CNL 211. It can, for a transitional period, still be
used for sections D ( D509 only), and for sections E and
F of KERNLIB. Users are advised not to use it any longer for
other cases and to replace it in older
programs. With the foreseen transfer of the subroutines in sections
D,E,F in KERNLIB to MATHLIB, it will eventually disappear.
Suggested replacement: MTLSET (N002)
Subroutine KERSET allows the user to redefine the action to be taken by subprograms in the Fortran version of sections A-H of KERNLIB when certain specified error conditions are detected. (This subroutine does not exist in the Fortran 66 version.) Error recovery may be performed either on each occurrence of the error, or only a specified number of times. Messages may be written either on each occurrence of the error, or only a specified number of times. Error messages may be written (by default) onto the system output unit, or may be re-routed to some other output file.
Structure:
SUBROUTINE subprogram
User Entry Names: KERSET
Internal Entry Names: KERMTR
Files Referenced: Printer or user-defined
External References: ABEND (Z035)
Usage:
CALL KERSET(ER,LGFILE,LM,LR)
as infinity.
Notes:
If the six-character string ER ends with one or more blanks,
LM and LR apply to all error conditions whose leftmost
characters match the non-blank characters of ER.
Thus ER = 'C2 ' (four blanks) applies to all error
conditions in packages C200 to C299, and ER = ' '
(six blanks) applies to all error conditions under the control of
KERSET.