next up previous index
Next: Z036 Intercept a Up: CERNLIB Previous: Z034 Computer Mainframe

Z035 Abnormal Termination of Fortran Programs

Routine ID: Z035
Author(s): B. Lautrup, R. MatthewsLibrary: KERNLIB
Submitter: C. LetertreSubmitted: 06.01.1971
Language: Fortran or Assembler or CRevised: 20.01.1986

ABEND causes abnormal termination of a program. (On CDC all subsequent JCL control cards up to the next EXIT card will be ignored by the system).

Structure:

SUBROUTINE subprogram
User Entry Names: ABEND

Usage:

Not IBM:

    CALL ABEND
causes abnormal termination of execution and prints the dayfile message ABEND. The output files are closed and INPUT is correctly positioned.
IBM:
    CALL ABEND(KODEU)
The optional argument KODEU is used as the user completion code and must be an integer expression with a value in the range 0-4095 . If the argument is omitted, or does not have a value in this range, a default value of 1 will be used.

Z036


Janne Saarela
Mon Apr 3 15:06:23 METDST 1995