All Abend Final
All Abend Final
All Abend Final
-----------------------------------------------------------------------
SYSCD - System codes
----------------------------------------------------------------------
SB37 – INSUFFIENT STORAGE SPACE ALLOATED FOR THE DATASET.
SOLUTION :
SD37 * MORE SPACE NEEDED IN SPACE PARM. THERE WAS NO SECONDARY SPACE
* SPECIFIED.
SE37 - SPACE PROBLEM - IF DSN IS A FOCUS D/S - TRY COMPRESSING THE DSN
THRU 3.1.
* THIS RESULTS WHEN AN OUTPUT PDS FILLS UP ITS SPACE. IT ALSO
* HAPPENS WHEN THE PDS CANT ACQUIRE ITS 15 EXTENTS ON ONE VOLUME.
* A PDS CAN NOT SPAN MORE THAT ONE VOLUME.
S001 - I/O ERROR
* WRONG LENGTH RECORD OR PHYSICAL BLOCK
* NO END OF FILE MARKER
* ATTEMPT TO READ RECORD AFTER END-OF-FILE CONDITION FOUND
* HARDWARE ERROR
* TRIED TO WRITE ON AN INPUT FILE
* INCORRECT USE OF BLOCK CONTAINS CLAUSE - COBOL
* SECONDARY SPACE TO SMALL- (LIKE SB37)
* TAPE BEING READ IN WRONG DENSITY
* TRTCH PARM WAS WRONG
* RECFM V IS INCOMPATIBLE WITH TRTCH ET
=-------------------------------------------------------------------------------
S0C1 - OPERATION EXCEPTION
* A MISSING OR MISSPELLED DD.
* DATASET WAS OPEN OR CLOSED WHEN AN INPUT/OUTPUT INSTRUCTION
* WAS ISSUED FOR IT. IT SHOULD HAVE BEEN THE OPPOSITE.
* BAD LOAD MODULE OR OBJECT DECK.
* FORTRAN- MISSING DIMENSION STATEMENT, SAME NAME FOR ARRAY AND A
* SUBROUTINE.
* COBOL- USING SORT VERB, DDNAME WAS NOT SORTOUT WHEN THE GIVING
* OPTION WAS USED.
* COBOL- SUBROUTINE PROG ID WAS THE SAME AS THE ENTRY NAME.
* COBOL- TRIED TO CALL WITHIN COBOL F SORT I/O PROCEDURE.
* COBOL- TRIED TO CALL A SUBROUTINE WHICH COULDNT BE FOUND.
System ABEND: S0C1
Subscript error
"Clobbered" code
Tried to read a file that was not open
Misspelled DDNAME
Error in parameters passed to subroutines
Missing DD card
Recording mode was wrong, or density was incorrect
Bad load module, possible bad object deck in FORTRAN
(unresolved external references)
Missing dimension statement
Same name for an array and a subroutine
COBOL: subroutine prog ID was the same as the entry name
tried to call within COBOL sort I/O procedure
User Action: Correct the program logic error and rerun the job.
Possible causes for this abend include:
Unintentional branch to invalid instruction due to subscript error
COBOL: Missing period at end of paragraph or paragraph names
Missing goback after sort verb - logic fell into input procedure
ACCEPT verb executed when no SYSIN DD was available.
System ABEND: S0C3
Description: An attempt was made to make the EXECUTE machine instruction the
target of an EXECUTE instruction, which is not allowed.
User Action: Correct the program logic error and rerun the job.
S0C4 - PROTECTION EXCEPTION
* INDEXING (SUBSCRIPTING) OUTSIDE THE PGM'S ASSIGNED LIMITS.
* UNITIALIZED INDEX.
* A MISSING OR MISSPELLED DD.
* AN ATTEMPT TO READ AN UNOPEND INPUT FILE.
* BLOCKSIZE AND RECORD SIZE BEING SPECIFIED AS = FOR VARIABLE
LENGTH RECORDS
System ABEND: S0C4
• The protect key in the program PSW does not match the protect key of an
instruction operand or storage area. References to pages protected with the
PGSER PROTECT service or specified shared with a read-only view to the
IARVSERV service can cause this exception. - this is a page protection
exception (reason code 4).
• The requested referenced page was never allocated (i.e., never GETMAIN'ed -
reason code 10 or 11) - this is a page-translation or segment-translation
exception.
• The requested virtual storage page was paged out and the routine that
referenced it was disabled for I/O interrupts (reason code 11 with disabled
PSW).
User Action: Correct the program logic error that generated the invalid address or
storage reference. When analyzing the dump, remember that the PSW saved when
an 0C4 abend occurs may point at the failing instruction or it may point at the next
instruction after the failing instruction.
Check to ensure that your program is obtaining, using, and freeing storage properly.
Moving data to a zero address or to an address less than 512 (decimal) is a very
frequent cause of this abend.
User Action: Correct the program logic error that generated the invalid address
or storage reference.
S0C6 - SPECIFICATION EXCEPTION
• AN ADDRESS DOES NOT SPECIFY THE BOUNDARY REQUIRED.
System ABEND: S0C6
1) A data, instruction, or control-word address does not specify the proper storage
boundary alignment.
2) An instruction specifies an odd register number when it should specify the even
numbered register of an even- odd register pair.
5) The first operand field is shorter than or equal to the second operand field in a
decimal (packed) multiplication or division instruction.
6) The block address in a SET STORAGE KEY or INSERT STORAGE KEY instruction has
the four low-order bits not all zero.
7) A PSW with a non-zero protection key was encountered when protection was not
installed.
User Action: Correct the program logic error that caused the specification
exception and rerun the job
S0C7 - DATA EXCEPTION- DATA WAS OF INCORRECT FORMAT FOR THE INSTRUCTION
ATTEMPTING TO PROCESS IT.
* UNINITIALIZED INDEX OR SUBSCRIPT.
* FIELDS IN DECIMAL ARITHMETIC OVERLAP INCORRECTLY.
* INDEX/SUBSCRIPT VALUE INCORRECT AND INVALID DATA WAS REFERENCED.
* THE DECIMAL MULTIPLICAND HAS TOO MANY HIGH-ORDER SIGNIFICANT
DIGITS.
* DATA FIELD WAS NOT INITIALIZED, BLANKS WERE READ INTO A FIELD
DESIGNED TO BE PROCESSED WITH PACKED DECIMAL INSTRUCTIONS.
System ABEND: S0C7
Description: This ABEND is a data exception and can only occur when decimal
(packed) instructions are used. One of the following can cause this error:
1) The sign or digit codes of one or more bytes manipulated by the packed or
CONVERT TO BINARY instructions is invalid for packed decimal use. Packed decimal
digits must be in the range 0 through 9, with only the sign digit being a digit in the
range A through F.
User Action: Correct the format of the data being manipulated by the packed
decimal instructions in the program and rerun the job.
S0C8 - FIXED POINT OVERFLOW EXCEPTION
System ABEND: S0C8
User Action: The number being manipulated may be too large for fixed- point
arithmetic instructions. Consider changing the program's algorithm or switching to
floating-point instructions. You can use the SPM machine instruction to disable S0C8
abends by setting the fixed-point overflow enabling bit in the PSW before fixed-point
math is done
User Action: Dividing by zero is the most common cause of this ABEND. Correct
the program logic error that caused the divide exception and rerun the job
-------------------------------------------------------------------------------------------------------------------------
S222 - OPERATOR CANCELED
S228 - STORAGE VIOLATION - PROGRAM MIGHT HAVE BEEN COMPILED USING WRONG
RMODE, AMODE.
S237 - ERROR AT END OF VOLUME. S237-08 MAY BE CAUSED BY INTERNAL AND
EXTERNAL TAPE LABEL NOT MATCHING, TRY WHATTAPE ON TAPE NUMBERS
PRIOR AND RIGHT AFTER MISMATCHED TAPE.
* BLOCK COUNT WRONG ON TRAILER LABEL.
* VOL=SER SPECIFIED WRONG IN JCL.
* TAPE BLOCK COUNT DIDNT AGREE WITH DCB BLOCK COUNT, POSSIBLE
SKIPPED BLOCK DUE TO HARDWARE ERROR.
S322 - TIME OUT (CPU TIME LIMIT EXCEEDED), TRY ADDING TIME PARM
120 CPU MINUTES IS THE SYSTEM DEFAULT FOR EACH STEP IN A JOB.
S400 - INVALID CONTROL - INVALID DCB PARAMETER BLOCK
S522 - TIME OUT (TASKS IN JOB STEP IN WAIT STATE DUE TO UNATTAINABLE
RESOURCE E.G, PHYSICAL DEVICE, DATA SET, CPU)
* PROGRAMMED TIMED OUT WAITING FOR TAPE MOUNT
S722 - TIMEOUT (OUTPUT LIMIT REACHED, JOB EXCEEDED NUMBER OF ALLOWABLE
LINES)
----------------------------------------------------------------------
RETCD - Return codes
----------------------------------------------------------------------
R/C 12 GENERIC ABEND, CHECK OUTPUT FOR SPECIFIC REASON, IE SB37,
CONTENTION.
----------------------------------------------------------------------
STACD - File status codes
----------------------------------------------------------------------
I/O STATUS '35' -
DDNAME MISSING (COBOL II).
I/O STATUS '37' -
CHECK FD RECORD LENGTH AGAINST DCB LENGTH (COBOL II).
I/O STATUS '39' -
CHECK BLOCK CONTAINS CLAUSE IN FD (COBOL II).
I/O STATUS '46'
READ PAST END OF DATA ON FILE (COBOL II).
I/O STATUS '47'
READ AFTER FILE CLOSED (COBOL II).
I/O STATUS '48' -
WRITING TO FILE OPENED AS INPUT.
FILE STATUS '92' -
1. ANY I/O REQUEST AGAINST A FILE THAT IS NOT OPEN.
2. ANY I/O REQUEST THAT IS NOT ALLOWED FOR THE OPTION THAT
WAS SPECIFIED WITH THE OPEN STATEMENT. (I.E. READ A FILE
OPENED AS AN OUTPUT OR REWRITE A FILE OPENED AS INPUT).
3. ANY WRITE OR REWRITE OF A RECORD WHOSE LENGTH IS GREATER
THAN THE MAXIMUM SIZE SPECIFIED IN THE FD (DCB).
4. ANY ATTEMPTED ACTION ON A FILE AFTER END-OF-FILE CONDITION
HAS OCCURED.
----------------------------------------------------------------------
SQLCD - SQL return codes
----------------------------------------------------------------------
NOTES:
* IN DB2 RELATED JOBS, DO A FIND ON SQL
SQL 100 - ROW NOT FOUND FOR FETCH--CONTACT PROGRAMMER, RETRY WON'T WORK.
-203 - A REFERENCE TO COLUMN colum-name is AMBIGUOUS
-204 - NAME IS UNDEFINED NANE
-205 - column-name IS NOT A COLUMN OF TABLE table-name
-501 - CURSOR IDENTIFIED IN FETCH OR CLOSE IS NOT OPEN
-502 - CURSOR IDENTIFIED IN OPEN IS ALREADY OPEN
-504 - THE CURSOR NAME cursor-name IS NOT DEFINED
-803 - INSERT/UPDATE VALUES INVALID; CONTACT SYS DEV
-805 - PROGRAM NOT FOUND; PROGRAM NOT BOUND AS PART OK PLAN NAME.
CONTACT SYS DEV.
91J - DEADLOCK, RESTART; LIKE -911.
-904 - DB2-TABLE IS DOWN CONTACT SYSTEM DEV. (RESOURCE UNAVAILABLE)
OR CAN BE A TEMPORARY CONTENTION - RESTART LATER.
-911 - RESOURCE CONTENTION, RESTART AFTER JOB CAUSING CONTENTION ENDS
-913 - RESOURCE CONTENTION, RESTART AFTER JOB CAUSING CONTENTION ENDS
-818 - BIND PROBLEM, RELATED TO PRODUCTION UPDATES.
-923 - DB2 CONNECTION DOWN, CHECK STATUS OF DB2 PRODUCTION
----------------------------------------------------------------------
CICSCD - CICS abend codes
----------------------------------------------------------------------
AEIP - CICS INVREQ CONDITION - IF USING LOGICAL PAGING
CHECK TO SEE IF A MAP W/O PAGING WAS SENT AFTER
ACCUM PAGING INITIATED.
AEIV - LENGERR - INVALID LENGTH ON SEND, RECEIVE, AND
OTHER VERBS
AEY9 - DB2 HAS COME DOWN AND BACK UP BUT HAS NOT BEEN
RE-ATTACHED. TRY ATTACHING BY CODING:
IN CICS4 - "DSNC STRT 5"
APCT - REQUESTED MODULE CANNOT BE LOCATED IN THE PPT
OR ENTRY DISABLED (MODULE NOT FOUND IN THE
LOAD LIBRARY).
ASRA - USUALLY DATA EXCEPTION ERROR.