Вы находитесь на странице: 1из 9

JCL

S0CBAttemptingtodivideby0andnotusingON
SIZEERROR

S002Verylargerecordlength/wrongrecord
length

Sx22Jobhasbeencancelled.Thevalueofx
willvarydependingonthewaythejobwas
cancelled.S222meansjobwascancelledby
auseroroperatorwithoutadump.
IfaTSOsessiontimesoutyouwill
probablygetanS522abendcode.

S222Thejobwascancelled(by
subsystemoroperator)becauseitviolated
somerestriction

S522JOBorTSOsessionexceeded
maximumjobwaittimeOR
operatordidnotmountthe
requiretapewithinallowedtimelimit

S806Loadmodulenotfound

S837Spaceproblem,Allotedspaceisnotenough
fordataset

S913Youaretryingtoaccessadatasetwhich
youarenotauthorizedtouse.

SOC71.Movingnonnumericvaluetonumeric
field
2.Notinitilizingthenumericvariables
beforefirstuse

SOC41.Indexexceedsthesizeoftable
2.TryingtouseFileSectionvariables
withoutopeningthefile

S0C1OperationException.Checkforsubscript
errors,missingDDcard,filenotopened.
SE37Insufficientdiskspace.

U1026COBOLsortfailed.

U1056Programdidn'tcloseafilebeforeending

DB2

+100>Endofcursor

180>StringrepresentationofDATE,TTIME,
TIMESTAMPisinvalid

204>ObjectnotdefinedtoDB2

205>ColumnnamenotinspecifiedDB22table

206>Columndoesnotexistinanytabbleinthe
SELECT

551>NotauthorizedtoaccessDB2

803>Unquieindexvoilation.Trytoiinsert
duplicaterecord.

805>DBRMorPACKAGEnotfoundinPLAAN

811>Cursorshouldbeused,whenmorrethanone
rowreturnedasanresult
ofansingletonSELECTquery

818>Timestampmismatchbetweenplanandload
module

IMPQUESTIONSONERRORCODES

Q.Whatiserrorcodeforendofrecord/recordnot
foundinDB2?
A.100

Q.ThenHowyouwillfindthat,Errorisforendof
recordorrecordnotfound?
A.Ifweareusingselectstatement,sqlerrorcode
100representsrecordnotfound
Ifweareusingcursor,inthatsituation,sql
errorcode100representsendofrecords

FORSQLSTATECODES(VERSION7)CLICKHERE
FORSQLTUTORIALCLICKHERE

CICS
ASRAThisabendoccuredbeacuseofinvalidnon
numericdata

AICAAloopingtaskhasbeenterminatedwiththis
abend
codebyCICSbecauseitwasexecutingwithout
giving
upcontrollongerthanthetimeperiod
specifiedby
theICVRkeywordintheCICSSIT.

AEY9InvalidEXECCICScommandissued

AE**MostoftheabendsstartswithAE,occures
because
theyarenothandledinthecicsprogram.

RESP
CONDITION
VALUE

00 NORMAL
01 ERROR
02 RDATT
03 WRBRK
04 EOF
05 EODS
06 EOC
07 INBFMH
08 ENDINPT
09 NONVAL
10 NOSTART
11 TERMIDERR
12 FILENOTFOUND
13 NOTFND
14 DUPREC
15 DUPKEY
16 INVREQ
17 IOERR
18 NOSPACE
19 NOTOPEN
20 ENDFILE
21 ILLOGIC
22 LENGERR
23 QZERO
24 SIGNAL
25 QBUSY
26 ITEMERR
27 PGMIDERR
28 TRANSIDERR
29 ENDDATA
30 INVTSREQ
31 EXPIRED
32 RETPAGE
33 RTEFAIL
34 RTESOME
35 TSIOERR
36 MAPFAIL
37 INVERRTERM
38 INVMPSZ
39 IGREQID
40 OVERFLOW
41 INVLDC
42 NOSTG
43 JIDERR
44 QIDERR
45 NOJBUFSP
46 DSSTAT
47 SELNERR
48 FUNCERR
49 UNEXPIN
50 NOPASSBKRD
51 NOPASSBKWR
52
53 SYSIDERR
54 ISCINVREQ
55 ENQBUSY
56 ENVDEFERR
57 IGREQCD
58 SESSIONERR
59 SYSBUSY
60 SESSBUSY
61 NOTALLOC
62 CBIDERR
63 INVEXITREQ
64 INVPARTNSET
65 INVPARTN
66 PARTNFAIL
67
68
69 USERIDERR
70 NOTAUTH
71 VOLIDERR
72 SUPPRESSED
73
74
75 RESIDERR
76
77
78
79
80 NOSPOOL
81 TERMERR
82 ROLLEDBACK
83 END
84 DISABLED
85 ALLOCERR
86 STRELERR
87 OPENERR
88 SPOLBUSY
89 SPOLERR
90 NODEIDERR
91 TASKIDERR
92 TCIDERR
93 DSNNOTFOUND
94 LOADING
95 MODELIDERR
96 OUTDESCRERR
97 PARTNERIDERR
98 PROFILEIDERR
99 NETNAMEIDERR
255 NOTPOSS

VSAM
00SUCCESSFULCOMPLETION

02DUPLICATEKEY,NONUNIQUEALTINDEX

04READ,WRONGLENGTHRECORD

05OPEN,FILENOTPRESENT

10ENDOFFILE

20INVALIDKEYVSAMKSDSORRRDS

21SEQUENCEERROR,ONWRITEORCHANGINGKEY
ONREWRITE

22DUPLICATEKEY

23RECORDNOTFOUND(whenwearetryingto
accessarecordwithkey)
or
FILENOTFOUND

35OPEN,FILENOTPRESENT

Whenwewillusethiscodeinourprogram?
Therearesituationswherefileshouldbe
readifexists,writeifitdoesnot
whenyoudontknowwhetherfileexistsare
not,firstyouwillopen
fileinIOmodeandcheckstatuscode.if
itis35thenopenthat
fileforoutputfile.otherwiseyouwill
continuewithyourlogic

41OPEN,FILEISOPEN

42CLOSE,FILEISCLOSED

43DELETEORREWRITE&NOGOODREADFIRST

46SEQUENTIALREADWITHOUTPOSITIONING

47READINGFILENOTOPENASINPUT/IO/EXTEND

48WRITEWITHOUTOPENINIOMODE

49DELETEORREWRITEWITHOUTOPENINIOMODE

92LOGICERROR/OPENINGANOPENFILE
ORREADINGOUTPUTFILE
ORWRITEINPUTFILE
ORDEL/REWBUTNOPRIORREAD

94SEQUENTIALREADAFTERENDOFFILE
ORNOCURRENTRECPOINTERFORSEQ

96MISSINGDDSTATEMENTINJCL

97OPENOK,FILEINTEGRITYVERIFIED

Whenwewillusethisinourprograms?
Weusethiscodewheneverweopenthefile,
ifstatuscodeis00or97
wewillproceedwithourlogic,otherwise,
callerrorroutine.
Usaully,itmaycomewhenfilewasnot
closed.
forexample

IFWSFILESTATUSNOT='00'AND'97'
PERFORMERRORROUTINE
ENDIF.

IMS
U0778AROLLcallwasissuedbyauser
applicationprogram,ora
failureduringtheDatabaseBackoututility
inanotherregionresultedin
allregionsbeingterminatedasaresultof
aninternallyissuedROLLcall.

U0456IFPSBISNOTAVAILABLE
(NOTRUNNING/SOMEBODYISUSING)

WHATWESHOULDDO?

STARTPSBFROMTHEREGIONINWHICHYOUARERUNNING
YOUARERUNNING

COMMAND/startPGM<PSB>

NOTEBeforeissuingcommand,pleasecheckPSBis
runningornotbyusingfollowingcommand
/disPGM<PSB>

ifpsbisnotrunningthenonlyissueabove
/startcommand.

ifsomebodyusingthepsbandyouwantto
stopthattransaction.usefollowingcommandtostop
command
/stopPGB<PSB>

statuscodes


GEEndOfSegment

ACInvalidSSA

*InvalidSegmentnamespecifiedinSSA

*ThesegmentnameisintheDBPCB,
buttheSSAspecifyingthatsegment
nameisnotinitscorrecthierarchic
sequence.

ADProbleminpcblistinginprogram
(linkagesection)

AKInvalidSSA

*InvalidfieldnameinSSA(Keygiven
inSSAiswrong)

Вам также может понравиться