Abend Codes
Abend Codes
SOC7 -
1. Moving non-numeric value to numeric field
2. Not initilizing the numeric variables
before first use
SOC4 -
1. Index exceeds the size of table
2. Trying to use File Section variables
without opening the file
DB2
-206 -> Column does not exist in any tabble in the SELECT
-811 -> Cursor should be used , when morre than one row returned as an
result
of an singleton SELECT query
Q. Then How you will find that, Error is for end of record or record not
found?
A. If we are using select statement, sql error code 100 represents record
not found
If we are using cursor , in that situation, sql error code 100
represents end of records
VSAM
00 - SUCCESSFUL COMPLETION
10 - END OF FILE
22 - DUPLICATE KEY
WHAT WE SHOULD DO ?
START PSB FROM THE REGION IN WHICH YOU ARE RUNNING YOU ARE RUNNING
NOTE - Before issuing command , please check PSB is running or not by using
following command
/dis PGM <PSB>
if some body using the psb and you want to stop that transaction.
use following command to stop
command
/stop PGB <PSB>
------------
status codes
------------
GE - End Of Segment
AC - Invalid SSA
AK - Invalid SSA