Abend Code
Abend Code
Abend Code
HomeFree Questions
Showing posts with label Abend Codes. Show all posts
File Status Codes (or) COBOL Abend Codes
ERROR
REASON
CODE
00
Operation completed successfully
02
Duplicate Key was found
04
Invalid fixed length record
05
The file was created when opened - Successful Completion
07
CLOSE with REEL or NO REWIND executed for non tape dataset
.
10
End of File encountered
14
Attempted to READ a relative record outside file boundary
21
Invalid Key - Sequence error
22
Invalid Key - Duplicate Key found
23
Invalid key - No record found
24
Invalid Key - key outside boundary of file.
30
Permanent I/O Error
34
Permanent I/O Error - Record outside file boundary
35
OPEN, but file not found
37
OPEN with wrong mode
38
Tried to OPEN a Locked file
39
OPEN failed, conflicting file attributes
41
Tried to OPEN a file that is already open
42
Tried to CLOSE a file that is not OPEN
43
Tried to REWRITE without READing a record first
44
Tried to REWRITE a record of a different length
46
Tried to READ beyond End-of-file
47
Tried to READ from a file that was not opened I-O or INPUT
48
Tried to WRITE to a file that was not opened I-O or OUTPUT
49
Tried to DELETE or REWRITE to a file that was not opened I
-O
91
Password or authorization failed
92
Logic Error
93
Resource was not available (may be allocated to CICS or ano
ther user)
94
Sequential record unavailable or concurrent OPEN error
95
File Information invalid or incomplete
96
No DD statement for the file
97
OPEN successful and file integrity verified
98
File is Locked - OPEN failed
99
Record Locked - record access failed.
Get FREE Mainframe Interview Question & Answers - Click Here
Posted by M siva raman at Friday, April 08, 2011 1 comments
Labels: Abend Codes, Entire Mainframe Materials, Mainframe, Mainframe Tips, MF I
nterview Question Answers
Important COBOL ABENDS in COBOL
1.
What are the causes for S0C1, S0C4, S0C5, S0C7, and S0CB ABENDs?
S0C1 - May be due to
1.Missing or misspelled DD name
2.Read/Write to unopened DataSet
3.Read to DataSet opened output
4.Write to DataSet opened input
5.Called subprogram not found
SB37 ABEND
Insufficient disk space.
SD37 ABEND
Insufficient disk space.
SE37 ABEND
Insufficient disk space.
An E37 on tape datasets is most often caused when the number of requested volume
s is exceeded. The default is 5,
therefore a request for the sixth volume will fail with a E37.
S0C1 ABEND
Executing a program with an unresolved external reference.
Calling a program and the program was not included during link edit.
An uncontrolled loop moved data on top of instructions.
Reading a file that is not open
Your SORTIN DCB was not correct
Mixing compile options RES and NORES in different modules
S042PRIVILEGED OPERATION ABEND
Read/write to unopened file
An uncontrolled loop moved data on top of instructions.
S0C4 PROTECTION ABEND
An uncontrolled loop moved data on top of instructions.
referencing a field in a record of a closed file
referencing an item in Linkage-Section when there was no PARM= in the JCL.
Calling/called programs have different length for items passed in Linkage Sectio
n
with COBOL Sort, doing a STOP RUN or GOBACK while
an input or output procedure is still running
S0C5 ADDRESSING ABEND
See reasons as for 0C4.
Falling through into an ENTRY statement
Transferring control into the middle of a SORT procedure.
S0C6 SPECIFICATION ABEND
Bad boundary alignment for binary data.
See reasons for 0C4
S0C7 ABEND
Program attempting to do math on illegal data.
Data is not numeric, but should be.
Moving ZEROS to group item whose subordinate items
are packed-decimal
Uninitialized packed-decimal fields.
Record description is wrong. Field starts or ends in the wrong place in the reco
rd.
Find record description of creating program.
S0CB ABEND
Attempting to divide by 0 and not using ON SIZE ERROR
U1002 ABEND
Conflicting file attributes. See S013.
U1005 ABEND
JCL Program's
JCL Tutorials
Mainframe
Mainframe Case Study
Mainframe Tips
Mainframe Tools
Mainframe Tutorials
MF Interview Question Answers
PL/I Program's
Progrrams
Sample Mainframe Program's
SQL Codes
TSO/ISPF
VSAM
VSAM Program's
VSAM Tutorials
MAINFRAME PROGRAM'S
JCL Sample Program's
VSAM Sample Program's
DB2 Sample Program's
COBOL Sample Program's
CICS Sample Program's
SUBSCRIBE TO
Posts
All Comments
TOTAL PAGEVIEWS
SUBSCRIBE VIA EMAIL
Subscribe
Delivered by FeedBurner
ABOUT ME
My photo
M siva raman
Gingee, Tamilnadu, India
View my complete profile