Sie sind auf Seite 1von 12

ABEND code index Find name

1. User codes USECD


2. System codes SYSCD
3. Return codes RETCD
. Fi!e status codes STACD
". S#$ codes S#$CD
%. &isc codes'ms(s &)SCD
*. C)CS codes C)CSCD
+. )&S codes )&SCD

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
USECD , User codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
U---1 , C.EC/ F0R 1R0N2 B$0C/S)3E.
U---2 , )&S 4R0B$E& , CA$$ 04ERAT)0N T0 C.EC/ 0N STATUS. )&S CRAS.ED.
U--1% , )N UCC11 STE4 , TRY)N2 T0 RESTART N0N,RESTARTAB$E STE4.
)F 50B .AS STARTED AND .AS S0RT10R/S )N T.E STE4 ABEND)N2
TRY )NCREAS)N2 T.E S0RT10R/S 6 RESTART)N2 T.E 50B.
U--1% 7 4R0BAB$E S0RT CA4AC)TY E8CEEDED. 9&A8 T0 B0T 0F 50B$02:
7 )F E8ECUT)N2 S0RT 1' 4AR&;&A8S0RT AND 50B ABENDS 1)T. S0RT0U88
DE<)CE &)8)N2 4R0.)B)TED= C.AN2E T.E S0RT0U-- DD DSN>S T0
UN)T;CTA4E AND RESTART. T.)S ABEND CAN 0CCUR UNT)$ DASD
C0N<ERS)0N )S C0&4$ETE= AB0UT T.E 1ST 0F N0<. ?2.
U--1% 7 B$0C/S)3E 0N )N4UT F)$E S.0U$D BE 0&)TTED.
U--2- , )N UCC11 STE4 , DATA SETS USED F0R RESTART D)FFER FR0& 4R0DUCT)0N
RUN. TRY CANCE$$)N2 ABENDED 50B= DE&AND 50B )N 0N .0$D= TY4E;
RES= ED)T 5C$= SAT)SFY .0$D RE#U)RE&ENT T0 RESTART. F0R )'4
2D2 C.AN2E= USE BY42D2@ YES F)E$D 0N RESTART SCREEN.
U--- , )N UCC11 STE4 , )NC0RRECT STE4 RESTARTED= )&4R04ER 0R
)&C0&4$ETE STE4 NA&E.
U--% , 4R0BAB$E 4SB 4R0B$E& , READ <S U4DATE , CA$$ DBA 0N CA$$.
U--% , )N T.E UCC11 STE4 ; C&T N0T C0RRECT 92D2 4R0B$E&:. T.ERE )S N0
2D2 BASE REC0RD 0R 50B )S CA$$)N2 0N A 9-: 2ENERAT)0N BUT T.ERE
ARE N0 2ENERAT)0NS CATA$02UED.
A$S0 CAN BE DEAD$0C/= C.EC/ S#$C0DE= TRY RESTART)N2.
U-1-2 , 4R0BAB$E )&S 4R0B$E&= TRY RESTART)N2.
, 1-'31'?2 U-1-2 )&S$02R DD STATE&ENT &)SS)N2 , 1.EN E8ECUT)N2
C)CSBT4.. DE$ETED STE4$)B DD 4ER /0S/) T0 RUN. Y0U C0U$D
SU22EST T.)S T0 DE<.
U-1-? , C.EC/ F0R S#$ C0DE.
U-1*" , DEAD$0C/ ' C0NTENT)0N.
U-2-- , C.EC/ S#$ C0DE )N ABENDED 50B.
U-2%1 , )NC0RRECT 4AR& )N D$') CA$$.
U-2*1 , )'0 ERR0R DETECTED 1.)$E 4UR2)N2 BUFFERS DUR)N2 C/40)NT 04ERAT)0N
U-2*3 , )'0 ERR0R DETECTED 1.)$E RE40S)T)0N)N2 A 2SA& DATASET DUR)N2 RESTART.
U-2?" , S0RT,8 4R02RA& $0ADED US)N2 1R0N2 E8ECUTE.
U--2 , 4R0BAB$E )&S 4R0B$E&= TRY RESTART)N2.
U-2+ , 4SB N0T DEF)NED AS AN )&S B&4'C0NTACT DBA )N &0RN)N2.
U-3* , A44$)CAT)0N 2R0U4 NA&E 0R RES0URCES S4EC)F)ED ARE N0T <A$)D
F0R DE4ENDENT RE2)0N
7 &AY NEED >A2N;> 4ARA&ETER= SEE &E&BER >ARACF>.
U-"2 , 4SB C0NTENT)0N ' 2 DB 50BS DEA$$0CAT)N2 AT SA&E T)&E.
)F Y0U 2ET &0RE T.AN 2 U-"2 ABENDS= RESTART T.E TRANSACT)0N
9S)2N 0N )&S AND 'STA TRAN DBBBBBC4: 9SA&E NA&E AS 4SB:
U-"% , 4SB )S ST044ED= 'STA 4R02 A$$= STARTS A$$ ST044ED 4SB>S.
SEE >C&)SC04.UCC*.SC.EDU$E9CA*0S: F0R .01 T0 D)S4$AY )&S )NF0.
U-"+ , DATABASE )S ST044ED'C0NTACT DBA 0N CA$$= UN$ESS B'U>S ARE RUNN)N2.
U-* , CANCE$$AT)0N 0F 50B T.R0U2. 'ST04 RE2)0N ABDU&4
U-*% , 4SB 0R 4CB 4R0B$E& , CA$$ 4R02RA&&ER.
U-"1? ,
U-"22 , 50B T)&ED 0UT 1A)T)N2 F0R A TA4E &0UNT.
U-%++ , $0ST )&S FR0& T.E &)8= C.EC/ 1)T. 04ERAT)0NS 0N STATUS.
U-**" , )S0$AT)0N DEAD$0C/ , C0NTENT)0N TRY RESTART)N2 3 0R T)&ES=
BEF0RE C0NTACT)N2 CARDS 0N CA$$ F0R T.E 50B.
1 T)&E )N 1-=--- T0TA$ &)8 .AS CAUSED T.E 400$ T0 BE F)$$ED
&0RE T)&ES T.AN N0T A 4R02RA& .AS 20NE BESER/= N0T C.EC/40)NT)N2
0R N0T C.EC/40)NT)N2 EN0U2.. $EN2T. 0F T)&E T0 BAC/ 0UT S.0U$D
BE A 40)NTER T0 T.E 4R0B$E& 50B.
U-*** , )&S C0NTENT)0N'RESTART 50B $ATER.
U-+11 , 40)NTER 4R0B$E&.
U-+ , DATA BASE )S FU$$= N0T)FY DBA.
U-+? , N0T $)STED )N )&S &S2 6 C0DES= BUT A RESTART CAN 10R/
, AN +? ABEND )S CAUSED BY AN )$$E2A$ DATAS.ARE 0F A DATABASE.
U-+"- , DATA BASE ERR0R= N0T)FY DBA.
U-+"2 , DATABASE 40)NTERS 0UT 0F SYNC , CA$$ DBA 0N CA$$ , TRY RESTART F)RST.
U-??? , 2ENERA$$Y A RACF ABEND= BUT C.EC/ F0R 0T.ER &ESSA2ES )N 0UT4UT.
S2?-214 F$A2S A U???= BUT )S ACTUA$$Y A B3* )N SAS STE4@
SASBA--1 E8EC SAS=S0RT;3--=10R/;>???=???>=04T)0NS; ETC.
)NCREASE S4ACE S.01N BE$01 )N 10R/ 4AR&.
SASBA--1 E8EC SAS=S0RT;3--=10R/;>1"--=1"-->=04T)0NS; ETC.
U-+"3 , DATA BASE R00T 4R0B$E&' 9CC1"334 RUNN)N2:BB TRY RESTART)N2.
U1--3 , BBB
U1-3" , DCB;DB$/S)3E;CCC N0T S4EC)F)ED 0N A DU&&Y DD ST&T
U11-- , C0NTENT)0N.
U123 , BBB
U13-2 7 A$$ REC0RDS 1ERE>NT RETURNED FR0& S0RT= TRY B)22ER RE2)0N. -?%/ 0
U1311 , 40SS)B$E RE2)0N S)3E ERR0R , )NCREASE RE2)0N S)3E 0N E8EC STATE. -?%/ 0
U132- , 40SS)B$E RE2)0N S)3E ERR0R , )NCREASE RE2)0N S)3E 0N E8EC STATE. -?%/ 0
U1+-* , C.EC/ F0R S#$ C0DE
U2*+ , SE<ERA$ 50BS ABENDED 1'T.)S -3'2-'?2= CAUSED BY TRANS 4UTT)N2
, &ESSA2E 0N #UEU)N2 T.AT .AD 0NE $)NE E0T. CAUSED TE&4 ST0RA2E
, T0 F)$$D REC0<ERY T0/EN /E4T C.AN2)N2. 5AS0N BUT$ER .AD T0
, DE$ETE REC0RD 0FF #UEU)N2 DATA BASE.
U2+% , T0 &ANY 1A)T)N2 4ST>S 9%- $)&)T: 5UST RESTART 50B.
U2+%- , 40)NTER ERR0R 4ER C.UC/ 1)SE 9-'1"'?-:. /DF.
U33-- , D'B 4R0B$E&= )R$& )S FU$$= 4R0BAB$Y CAUSED BY AN0T.ER 50B
RUNN)N2 AND N0T C.EC/40)NT)N2 EN0U2.. TRY RESTART)N2.
U33-- , 9SEA,$AND: 50BNA&E F0R T.E 50B E8ECUT)N2 >UT)$1T0R>)S N0T 0N
, T.E UT)$1T0R TAB$E )N 4R0D.CT$)B.
U33-3 , USUA$$Y DUE T0 $0S)N2 A C)CS , RESTART T.E STE4 AFTER RE2)0N U4.
C0U$D )ND)CATE A ST044ED DATA BASE 4ER D. DA<)ES.
U3"-" , TRY)N2 T0 C$0SE A C$0SED F)$E 0R 04EN AN 04ENED F)$E.
U3%-1 , $)BRARY 40)NTED T0 BY )&S DD STATE&ENT C0UNT N0T BE 04ENED
U3%-2 , B$D$ RE#UEST FA)$ED F0R T.E S4EC)F)ED 4SB.
U3%-3 , RE#UESTED 4SB C0U$D N0T BE $0ADED
U3%- , ERR0R 1AS DETECTED DUR)N2 2SA& )N)T)A$)3AT)0N
U3%- 7 &)SS)N2 DD NA&E 0N 2SA& F)$E.
U3%1- , T.E C0UNT F)E$D )N T.E USERS 4ARA&ETER $)ST )S )N<A$)D
U3%11 , ADDRESS F0R 2SA&=4CB )N USERS 4ARA&ETER $)ST )N<A$)D
U3%12 , ERR0R DETECTED DUR)N2 E8TENDED C.EC/40)NT CA$$ 4R0CESS)N2
U3%13 , ERR0R DETECTED DUR)N2 USERS CA$$ T0 A 2SA& DATABASE
U3%1 , ERR0R 1.)$E 4UR2)N2 2SA& BUFFERS DUR)N2 C.EC/40)NT 4R0CESS)N2
U3%2- , ERR0R )N RECURS)<E CA$$ T0 CADDR4E DUR)N2 E8TENDED RESTART
U3*-* 7 C)CS N0T A<A)$AB$E
U3*-+ 7 N0 T.READS A<A)$AB$E
U3*1- , BAD )N4UT
U3*1- 7 C.EC/ S4)E AREAD
S4)E ---* DATA E8CE4T)0N
S4)E &-- ADDRESS E8CE4T)0N
S4)E ---1 4SB ERR0R= USE 1R0N2 4R0C 0N S.R'BTC. C0&4)$E
U3*1 , &)RR0R TAS/ ABEND
7 ATC., SYSTE& .UN2 S0 )T DU&4ED 42&= TRY A2A)N
7 A8FN, N0 42& 2EN F0R 4SB= 0R USED 4R0D 4SB )N TEST
7 **" , EN#UE F)$E FU$$
7 +2+ , )NSERT)N2 A DU4$)CATE SEC0NDARY )NDE8= DBA CAN F)8
7 + , DATABASE )S FU$$= CA$$ DBA
7 +"- , DATABASE 40)NTERS ARE BAD= CA$$ DBA
U3*1* 7 4CB N0T DEF)NED )N 4SB.
U3*1+ 7 N0 FUNCT)0N C0DE.
U3*23 7 REAS0N;+-1 4SB N0T )N ACB $)BRARY.
REAS0N;+-" 4SB N0T SC.EDU$ED' DB N0T A<A)$AB$E
REAS0N;+2+ TRY)N2 T0 )NSERT DU4$)CATE SEC0NDARY )NDE8
REAS0N;+FF D$) N0 ACT)<E.
U3*3 7 )NCREASE RE2)0N
U-1" , BAD 2N4 CA$$ 92ET NE8T 4ARENT:

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SYSCD , System codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SA1,- &AY BE C0NTENT)0N , TRY RESTART)N2 0NCE ACC0RD)N2 T0 )NSTRUCT)0N
SA*+,1- &AY BE C0NTENT)0N , TRY RESTART)N2 0NCE ACC0RD)N2 T0 )NSTRUCT)0N.
SA-A 7 )NACT)<E 42& 0<ERR)DES FREE AREA= AREA T0 BE RE$EASED 0<ER$A4S
7 A FREE AREA.
7 )N)T)AT0R FA)$URE.
SB-A 7 C0B0$ , C0NTR0$ 4ASSED BEY0ND END 02 42& DUE T0 )N<A$)D 4ERF0R&.
SB1 7 ERR0R ATTE&4T)N2 T0 C$0SE A 4DS 04ENED F0R 0UT4UT T0 A &E&BER.
7 T.E ST01 R0UT)NE= 1.)C. 4$ACES T.E &E&BER NA&E )N T.E D)RECT0RY
FA)$ED BECAUSE N0 S4ACE 1AS $EFT )N T.E D)RECT0RY 0R T.E NA&E
A$READY E8)STS 0R AN )NC0RRECTAB$E )'0 ERR0R 0CCURED.
7 AN ATTE&4T )S BE)N2 &ADE T0 A$$0CATE A 4DS AND ADD A &E&BER
FR0& AN )N<A$)D C0B0$ C0&4)$AT)0N.
SB3* , S4ACE , NEED T0 )NCREASE S4ACE 0N T.E S0RTED 0UT4UT DATA SET.
7 A$S0 CAN &EAN )T C0U$DNT F)ND EN0U2. S4ACE 0N T.E <0$U&E T0
7 A$$0CATE T.E 1" E8TENTS 0F SEC0NDARY.
7 )F 50B .AS T.)S TY4E 0F 5C$ , E8EC S0RT=RE2)0N;2&=4AR&;>C0RE;
"--/>=CY$;"-= AND 50B FA)$S 1)T. RC1%= )NCREASE S0RT S)3E BY
)N CY$;88 T0 )NCREASE T.E S0RT 10R/ S)3E. T.ERE 1)$$ BE N0 S0RT
10R/S )N T.E 5C$ )TSE$F T0 )NCREASE.
7 S0&E D&7 50BS A$$0CATE S4ACE )N /)$0BYTES )E
S4ACE;91=91"--="--::=A<2REC;/
SC-3 , USER F)$E .AS N0T BEEN C$0SED= N0T)FY DES)2NER.
7 F)$E STATUS;?2 04ENED F)$E= D)DNT READ= TR)ED T0 RE1R)TE.
SC13 7 ERR0R DUR)N2 04EN 4R0CESS)N2. AN )'0 ERR 1AS F0UND 0R T.E S<C
7 R0UT)NE 1AS UNAB$E T0 $0CATE A C0NCATENATED 4ART)T)0NED DATASET.
7 T.)S C0U$D BE AN ATTE&4T T0 04EN C0NCAT. 4DS F0R 0UT4UT.
7 )T C0U$D A$S0 BE T.E F0R&AT 1 DSCB C0U$D N0T BE $0ACTED )N T.E
7 <T0C 0F T.E DASD REFERENCED.
SC*+ , N0T EN0U2. C,400$ A<A)$ N0T EN0U2. <)R ST0RA2E A<A)$.
SD-- 7 NEEDS $AR2ER RE2)0N.
SD3* 7 &0RE S4ACE NEEDED )N S4ACE 4AR&. T.ERE 1AS N0 SEC0NDARY S4ACE
7 S4EC)F)ED.
SE3* , S4ACE 4R0B$E& , )F DSN )S A F0CUS D'S , TRY C0&4RESS)N2 T.E DSN
T.RU 3.1.
7 T.)S RESU$TS 1.EN AN 0UT4UT 4DS F)$$S U4 )TS S4ACE. )T A$S0
7 .A44ENS 1.EN T.E 4DS CANT AC#U)RE )TS 1" E8TENTS 0N 0NE <0$U&E.
7 A 4DS CAN N0T S4AN &0RE T.AT 0NE <0$U&E.
SFFF 4R0BAB$E C0NTENT)0N , RESTART 50B
SF13 7 A SU4ER<)S0R CA$ 9S<C: )NSTRUCT)0N C0NTA)NED AN )N<A$)D 04ERAND
7 0R T.E S<C )NSTRUCT)0N CA$$ED 1AS N0T )NC$UDED )N T.E 04ERAT)N2
7 SYSTE&. T.)S 0CCURS DUR)N2 04EN 4R0CESS)N2. )T C0U$D BE A 4DS
7 &E&BER C0U$D N0T BE F0UND= 0R C0NF$)CT)N2 0R &)SS)N2 DCB 4AR&S.
7 )N<A$)D 4AR&S 4ASSED T0 SU4ER<)S0R CA$$ R0UT)NE.
SF22 7 )'0 T)&E EST)&ATE E8CEEDED.
SF2D 7 0<ER$AY SU4ER<)S0R , )N<A$)D SU4ER<)S0R CA$$
7 BAD $0AD &0DU$E= RE,$)N/ED)T &0DU$E.
SF3* 7 )N4UT'0UT4UT ERR )N END,0F, <0$U&E 4R0CESS)N2 0R END,0F,<0$U&E
7 C0U$D N0T F)ND A RE#U)RED DATASET C0NTR0$ B$0C/9DSCB:. )T C0U$D
7 BE N0 DSCB C0U$D BE F0UND F0R A C0NCATENATED DSN 0N DASD= 0R
7 AN )N<A$)D 4AR& 1AS 4ASSED T0 END,0F,<0$U&E S<C 9S<C "":. )T
7 C0U$D A$S0 BE AN )'0 ERR0R READ)N2 A F0R&AT DSCB 0R READ)N2
7 <0$U&E $ABE$ 0N T.E SEC0ND <0$U&E.
S--1 , )'0 ERR0R
7 1R0N2 $EN2T. REC0RD 0R 4.YS)CA$ B$0C/
7 N0 END 0F F)$E &AR/ER
7 ATTE&4T T0 READ REC0RD AFTER END,0F,F)$E C0ND)T)0N F0UND
7 .ARD1ARE ERR0R
7 TR)ED T0 1R)TE 0N AN )N4UT F)$E
7 )NC0RRECT USE 0F B$0C/ C0NTA)NS C$AUSE , C0B0$
7 SEC0NDARY S4ACE T0 S&A$$, 9$)/E SB3*:
7 TA4E BE)N2 READ )N 1R0N2 DENS)TY
7 TRTC. 4AR& 1AS 1R0N2
7 RECF& < )S )NC0&4AT)B$E 1)T. TRTC. ET
S--1 7 )F US)N2 <SA& F)$ES )T C0U$D BE 0NE 0F T.E F0$$01)N2@
1: N0 )N<A$)D /EY C0ND)T)0N 0N RAND0& 4R0CESS)N2.
2: /EY )S 1R0N2 )N T.E FD STATE&ENT.
S--1,1 1R0N2 REC0RD $EN2T. 0R B$0C/S)3E.
S--2 , REC0RD $EN2T.,,A$S0 C.EC/ F0R S#$ C0DE )N 0UT4UT.
S--2,0C F)$E B$0C/ED T00 $AR2E= E8CEEDS TRAC/ CA4AC)TY.
7 1R0N2 RECF& 0R B$0C/S)3E )N 5C$
S-13 , C0NF$)CT)N2 0R UNSU440RTED 4ARA&ETERS )N DCB
7 B$0C/)N2 )N 4R02RA&;-D &UST .A<E B$0C/S)3E )N 5C$.
7 F)$E $EN2T. D)FFERENT T.AN DEF)NED )N 4R02RA&
7 &E&BER NA&E S4EC)F)ED )N DD C0U$D N0T BE F0UND.
7 N0 B$/S)3E'DCB S4EC)F)ED F0R A DU&&Y DD.
77 1.EN E8ECUT)N2 )EB2ENER 1)T. SYSUT1 )S DD DU&&Y= F0$$01ED BY
SYSUT2 CREAT)N2 NE1 DS= T.E DCB )NF0R&AT)0N &UST BE )DENT)CA$.
7 5C$ , TR)ED T0 CREATE A 4DS 1)T.0UT A$$0CAT)N2 D)RECT0RY B$0C/S
S-13,1+ CANN0T F)ND F)$E= &AYBE E8ECUT)N2 1R0N2 42&.
7 CANN0T F)ND F)$E $AR2E= E8CEEDS TRAC/ CA4AC)TY
S-13,2- B$/S)3E N0T A &U$T)4$E 0F $REC$ 0R 1R0N2 DSN.
S-13,%- NEED >FB> )N DCB 9RECF&;FB:
S-1% , S0RT,8 42&D 5C$ D0ES N0T C0NTA)N S0RT F)E$DS
S-31 , )'0 ERR0R UNDER , 4.YS)CA$ DA&A2E T0 REC0RD)N2 &ED)U&
)NDE8ED SE#UENT)A$ , 0UT 0F SE#UENCE /EY 1.EN $0AD)N2 AN
ACCESS 9#)SA&: )SA& DATA SET
, 1R0N2 $EN2T. REC0RD 0R B$0C/
S-3A , )NCREASE RE2)0N
S-3B , ERR0R )N 04EN , DATA SET .AD N0T BEEN CREATED
4R0CESS F0R AN , DATA C0NTR0$ B$0C/ .AD N0T BEEN C$0SED
)NDE8ED SE#UENT)A$ AFTER DATA SET CREATED
DATA SET , ERR0R )N $REC$ 0R B$/S)3E
S-3D , ERR0R )N 04EN , )NDE8ED SE# 0R2AN)3AT)0N N0T S4EC)F)ED
4R0CESS F0R AN )N DS0R2 0F DCB= RE#U)RED E<EN )F
)NDE8ED SE#UENT)A$ S4EC)F)ED )N S0URCE 4R02RA&
D)RECT DATA SET , N0T A$$ <0$,SER NU&BERS S4EC)F)ED 0R
)NC0RRECT SE#UENCE
S-E , C0NTENT)0N 1)T. AN0T.ER 50B. , , , 1.EN T.E 50B )S A DB2 )&A2E
C04Y RESTART T.E 50B FR0& T.E T04 0N$Y 1.EN T.E &ESSA2E AT T.E
B0TT0& 0F 0UT4UT READS RES0URCES UNA<A)$AB$E....50YCE D)$<ER....
S-%2 , RETURN C0DE E#UA$ T0 0R 2REATER T.AN <A$UE 0F NU$$ AR2U&ENT 4R0DUCED
S-B- , )'0 ERR0R 0N SYSTE& 50B #UEUE
S-C1 , 04ERAT)0N E8CE4T)0N
7 A &)SS)N2 0R &)SS4E$$ED DD.
7 DATASET 1AS 04EN 0R C$0SED 1.EN AN )N4UT'0UT4UT )NSTRUCT)0N
7 1AS )SSUED F0R )T. )T S.0U$D .A<E BEEN T.E 0440S)TE.
7 BAD $0AD &0DU$E 0R 0B5ECT DEC/.
7 F0RTRAN, &)SS)N2 D)&ENS)0N STATE&ENT= SA&E NA&E F0R ARRAY AND A
7 SUBR0UT)NE.
7 C0B0$, US)N2 S0RT <ERB= DDNA&E 1AS N0T S0RT0UT 1.EN T.E 2)<)N2
7 04T)0N 1AS USED.
7 C0B0$, SUBR0UT)NE 4R02 )D 1AS T.E SA&E AS T.E ENTRY NA&E.
7 C0B0$, TR)ED T0 CA$$ 1)T.)N C0B0$ F S0RT )'0 4R0CEDURE.
7 C0B0$, TR)ED T0 CA$$ A SUBR0UT)NE 1.)C. C0U$DNT BE F0UND.
S-C2 , 4R)<)$E2ED 04ERAT)0N E8CE4T)0N
7 C0B0$, &)SS)N2 4ER)0D AT END 0F 4ARA2RA4. 0R 4ARA2RA4. NA&ES.
7 C0B0$, &)SS)N2 20BAC/ AFTER S0RT <ERB , $02)C FE$$ )NT0
7 )N4UT 4R0CEDURE.
7 A &)SS)N2 0R &)SS4E$$ED DD.
7 DATASET 1AS 04EN 0R C$0SED 1.EN AN )N4UT'0UT4UT )NSTRUCT)0N
1AS )SSUED F0R )T. )T S.0U$D .A<E BEEN T.E 0440S)TE.
S-C , 4R0TECT)0N E8CE4T)0N
7 )NDE8)N2 9SUBSCR)4T)N2: 0UTS)DE T.E 42&>S ASS)2NED $)&)TS.
7 UN)T)A$)3ED )NDE8.
7 A &)SS)N2 0R &)SS4E$$ED DD.
7 AN ATTE&4T T0 READ AN UN04END )N4UT F)$E.
7 B$0C/S)3E AND REC0RD S)3E BE)N2 S4EC)F)ED AS ; F0R <AR)AB$E
$EN2T. REC0RDS
S-C" , ADDRESS)N2 E8CE4T)0N
7 )NDE8)N2 9SUBSCR)4T)N2: 0UTS)DE T.E 42&>S ASS)2NED $)&)TS.
7 UN)T)A$)3ED )NDE8.
7 A &)SS)N2 0R &)SS4E$$ED DD.
7 AN ATTE&4T T0 C$0SE A DATASET A SEC0ND T)&E.
7 AN )N4UT'0UT4UT )NSTRUCT)0N TER&)NATED BECAUSE 04EN 1AS
UNAB$E T0 C04$ETE T.E DCB.
S-C% , S4EC)F)CAT)0N E8CE4T)0N
7 AN ADDRESS D0ES N0T S4EC)FY T.E B0UNDARY RE#U)RED.
S-C* , DATA E8CE4T)0N, DATA 1AS 0F )NC0RRECT F0R&AT F0R T.E )NSTRUCT)0N
ATTE&4T)N2 T0 4R0CESS )T.
7 UN)N)T)A$)3ED )NDE8 0R SUBSCR)4T.
7 F)E$DS )N DEC)&A$ AR)T.&ET)C 0<ER$A4 )NC0RRECT$Y.
7 )NDE8'SUBSCR)4T <A$UE )NC0RRECT AND )N<A$)D DATA 1AS REFERENCED.
7 T.E DEC)&A$ &U$T)4$)CAND .AS T00 &ANY .)2.,0RDER S)2N)F)CANT
D)2)TS.
7 DATA F)E$D 1AS N0T )N)T)A$)3ED= B$AN/S 1ERE READ )NT0 A F)E$D
DES)2NED T0 BE 4R0CESSED 1)T. 4AC/ED DEC)&A$ )NSTRUCT)0NS.
S-C+ , F)8ED 40)NT 0<ERF$01 E8CE4T)0N
S-C? , F)8ED 40)NT D)<)DE E8CE4T)0N. )NCREAS)N2 RE2)0N T0 -& 10R/ED
F0R 2ARY STRA)T3 0N A 50B .E 1AS RUNN)N2.
S-CA , DEC&)A$ 0<ERF$01 E8CE4T)0N ,
DEST)NAT)0N F)E$D T00 S&A$$ F0R RESU$T
S-CB , DEC)&A$ D)<)DE E8CE4T)0N= #U0T)ENT E8CEEDS S4EC)F)ED DATA F)E$D
S)3E.
S-CC , E840NENT 0<ERF$01 E8CE4T)0N
S-CD , E840NENT UNDERF$01 E8CE4T)0N
S-CE , S)2N)F)CANCE E8CE4T)0N
S-CF , F$0AT)0N 40)NT D)<)DE E8CE4T)0N D)<)DE BY 3ER0
S-F1 ,
S-F2 ,
S-F3 ,
S1-% , 42& )S )N 42&$)B BUT 40)NTERS ARE BAD. .A<E 42&R C0&4)$E )T )N
TEST$)B AND 4UT STE4$)B )N 5C$ T0 4U$$ FR0& TEST$)B.
S1-% 7 ERR0R 1.)$E $0AD)N2 &0DU$E )NT0 &A)N ST0RA2E'NEEDS &0RE C0RE
0R ADD RE2)0N 4AR& T0 50B CARD
S11* ,
S122 , 04ERAT0R CANCE$ = RE#UESTED DU&4
S13* , )'0 ERR0R ERR0R )N $ABE$ 4R0CESS)N2
7 &U$T),<0$U&E DATASET 1)T. )NC0NS)STENT $ABE$)N2.
7 N0 TRA)$ER $ABE$S 0R TA4E &AR/S E8)STS AT END 0F DATA.
7 $ABE$ F0R&AT )NC0RRECT.
S1F 7 CARD )N4UT &)SS)N2
S1E* 7 DSN D0ES N0T &ATC. T.E DSN 0N T.E <0$U&E RE#UESTED
S213 , DSCB N0T F0UND. )'0 ERR0R )N READ)N2 0R 1R)T)N2 DSCB
9DSCB;DATA SET C0NTR0$ B$0C/:
7 T.E F0R&AT DSCB C0U$D N0T BE F0UND 0N DASD.
7 D)S4;0$D 0R S.R F0R AN 0UT4UT DSN.
7 S4ACE 4AR& 1AS N0T S4EC)F)ED.
7 D)S4;&0D BUT T.E DATA SET S.0U$D REA$$Y
BE NE1
7 D)S4;NE1 AND UN)T AFF)N)TY RE#UESTED
9UN)T;AFF;DDNA&E: DEFERRED &0UNT)N2 )S
)&4$)ED AND N0 S4ACE )S A$$0CATED.
S21 , TA4E 40S)T)0N)N2 0R )N<A$)D D)S4
, .ARD1ARE DE<)CE D)FF)CU$T)ES
, BAD 4.YS)CA$ S40T 0N REC0RD)N2 &ED)U&
, N0 TA4E&AR/ F0$$01)N2 DATA
, DATA 0B$)TERAT)0N
S222 , 04ERAT0R CANCE$ED
S22+ , ST0RA2E <)0$AT)0N , 4R02RA& &)2.T .A<E BEEN C0&4)$ED US)N2 1R0N2
R&0DE= A&0DE.
S23* , ERR0R AT END 0F <0$U&E. S23*,-+ &AY BE CAUSED BY )NTERNA$ AND
E8TERNA$ TA4E $ABE$ N0T &ATC.)N2= TRY 1.ATTA4E 0N TA4E NU&BERS
4R)0R AND R)2.T AFTER &)S&ATC.ED TA4E.
7 B$0C/ C0UNT 1R0N2 0N TRA)$ER $ABE$.
7 <0$;SER S4EC)F)ED 1R0N2 )N 5C$.
7 TA4E B$0C/ C0UNT D)DNT A2REE 1)T. DCB B$0C/ C0UNT= 40SS)B$E
S/)44ED B$0C/ DUE T0 .ARD1ARE ERR0R.
S3-% , T.)S CAN .A44EN )F A &E&BER 2ETS RE&0<ED FR0& C)CS $0AD$)B
SUC. AS C&SS24.C)CS.$0AD$)B1 DA<E 4AD2ETT CAN 4UT T.)S BAC/
0N T.E A4F $)ST 1)T. A RES0$< C0&&AND. CAN A$S0 BE A RACF ABEND.
91)$$ S.01 &0DU$E 88888888 N0T ACCESSED= USER UNAUT.0R)3ED.
S31 , )'0 ERR0R READ)N2 DSCB.
S322 , T)&E 0UT 9C4U T)&E $)&)T E8CEEDED:= TRY ADD)N2 T)&E 4AR&
12- C4U &)NUTES )S T.E SYSTE& DEFAU$T F0R EAC. STE4 )N A 50B.
S-- , )N<A$)D C0NTR0$ , )N<A$)D DCB 4ARA&ETER B$0C/
S13,-+ )'0 ERR0R= RESTART 50B )N ABENDED STE4.
7 T.E <0$U&E C0U$DNT BE &0UNTED 0N T.E RE#UESTED DE<)CE.
7 T.E <0$U&E SER)A$ A )NC0RRECT.
7 T.E <0$U&E SER)A$ A 1ASNT S4EC)F)ED F0R AN )N4UT DSN
7 <0$U&E SE#UENCE A S4EC)F)ED )N CAT$2 0R 5C$ 1AS 2REATER T.AN
T.E A 0F <0$U&ES CURRENT$Y A$$0CATED T0 T.E DSN.
S22 , 50B RE#U)RED T00 &UC. S4ACE )N SYSTE& 50B #UEUE.
S3* , ERR0R 0CCURRED AT END 0F <0$U&E
S2+ , 4SB AND RE2)0N , )F 4SB >T> RE2)0N ; )--3
)NC0&4AT)B$E , )F 4SB >4> RE2)0N ; )--2
S"13 , ERR0R AT 04EN F0R TA4E DATA SET 0N TA4E <0$U&E.
7 ASS)2N&ENT 0F T10 DATASETS T0 T.E SA&E TA4E DE<)CE.
S"22 , T)&E 0UT 9TAS/S )N 50B STE4 )N 1A)T STATE DUE T0 UNATTA)NAB$E
RES0URCE E.2= 4.YS)CA$ DE<)CE= DATA SET= C4U:
7 4R02RA&&ED T)&ED 0UT 1A)T)N2 F0R TA4E &0UNT
S%-% , N0T EN0U2. &A)N ST0RA2E 1AS A<A)$AB$E T0 $0AD 4R02RA&
S%-A 7 NEEDS &0RE C0RE
S%13 , TA4E 0R CARTR)D2E 40S)T)0N ERR0R
7 &)SS)N2 DCB .
7 DENS)TY )S 1R0N2.
7 RECF&;F )N 5C$ 1.EN F)$E )S ACTUA$$Y FB
S%3* , )'0 ERR0R DUR)N2 END,0F,<0$D SEE S4EC)F)C RETURN C0DES )N )EC-2%) B00/.
7 C0NCATENATED DSNS .A<E UN$)/E ATTR)BUTES. ) B00/.
S*-% , T.E RE#UESTED $0AD &0DU$E 1AS &AR/ED BY T.E $)N/A2E ED)T0R
AS N0T E8ECUTAB$E...
S*13 , ERR0R DUR)N2 04EN DUE T0 E84)RAT)0N DATE <)0$AT)0N.
S*1 , UNC0RRECTAB$E )'0 ERR0R 0CCURRED )N TA4E $ABE$ 4R0CESS)N2 9CR)&4
)N TA4E= TA4E $ABE$ DESTR0YED 0R 1R)TTEN )NC0RRECT$Y:.
S*22 , T)&E0UT 90UT4UT $)&)T REAC.ED= 50B E8CEEDED NU&BER 0F A$$01AB$E
$)NES:
S*3* , ERR0R DUR)N2 END,0F <0$U&E 0R DUR)N2 A$$0CAT)0N 0F SEC0NDARY
DASD S4ACE AS RE#UESTED )N S4ACE 4AR& 0F DD= 40SS)B$Y NEEDS
&0RE S4ACE.
7 C0NCATENATED DSN CANT BE F0UND.
S*"" , EN#UE F)$E FU$$ , T00 &ANY EN#UES 92ET .0$D= ETC.:
S**" , N0 T.READS , SYSTE& S.UTT)N2 D01N ,TRY $ATER
S+-A , ERR0R DUR)N2 2ET&A)N , TRY )NCREAS)N2 RE2)0N 4AR&.
-?%/ 0R *&. +& )S &A8 BUT S.0U$D E8ERC)SE CAUT)0N )N US)N2 4ER
50.N S.U$T3. - USES 1.ATE<ER>S NEEDED= $)/E A 1- 4AR&.
S+- 7 NEEDS $AR2ER RE2)0N S)3E.
S+-% , RE#UESTED &0DU$E N0T F0UND ' 4R02RA& 4R0B$E&
7 &)SS)N2 STE4$)B 0R 50B$)B CARDB
7 0B5ECT 4R02RA& N0T F0UND
S+13,- TA4E &0UNTED D0ES N0T .A<E DSN T.AT T.E 5C$ )S $00/)N2 F0R
9C0U$D BE 2 TA4ES 1)T. T.E SA&E )NTERNA$ NU&BER:
S+22 , RE2)0N UNA<A)$AB$E 9$)/E )N RE2)0N;%&:
, SYSTE& ERR0R )N )N)T)AT0R U11STE4 9USUA$$Y )N C.AN2E ACCU&S:D
RE2)0N UNA<A)$AB$E= ERR0R C0DE;2- , TRY RESUB&)TT)N2
S+3* , <0$U&E C0UNT 4AR& )NSUFF)C)ENT <0$;9===1-: 9$ABE$;TA4E=<0$;9===??:
CAN S0&E0NE E84$A)N T.E $ABE$; TA4E 4AR&BBBBB
S+"- USER ABEND )SSUED BY )&S.
DATA BASE 40)NTER ERR0R 1.EN READ)N2 FR0& A RE2)0N N0T T.E
U4DAT)N2 RE2)0N.
CA$$ DBA. DATA BASE NEEDS T0 BE DEA$$0CATED AND REA$$0CATED
S%*+ , NEEDS RE2)0N 4AR& ADDED 0N 50B CARD 9RE2)0N;*&:
S+*+ , <)RTUA$ ST0RA2E RE#UESTED N0T A<A)$AB$E. , TRY )NCREAS)N2 RE2)0N 4AR&.
-?%/ 0R *&. +& )S &A8 BUT S.0U$D E8ERC)SE CAUT)0N )N US)N2 4ER
50.N S.U$T3. - USES 1.ATE<ER>S NEEDED= $)/E A 1- 4AR&.
ADD RE2)0N;-?%/ 0N 50B CARD 0R STE4.
S?-A 7 TRY)N2 T0 C$0SE A C$0SED F)$E 0R 04EN AN 04ENED F)$E.
S?13,3+ )C.-+) )NSUFF)C)ENT AUT.0R)TY RACF

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
RETCD , Return codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
R'C 12 2ENER)C ABEND= C.EC/ 0UT4UT F0R S4EC)F)C REAS0N= )E SB3*=
C0NTENT)0N.

R'C 12 D0 A F)ND 0N S#$= )F S#$C0DE;------?15 T.)S )S A DEAD$0C/ AND
T.E 50B S.0U$D BE RESTARTED 4ER T.E 8T,2 )NSTRUCT)0NS
)F S#$C0DE;------?-& C.EC/ 1)T. DATA BASE
AB0UT ENAB$E UT)$)TY AFTER T.AT RESTART 50B
4ER 8T,2

R'C 1% 1.EN E8ECUT)N2 SYNCS0RT=4AR&;>RC1%;ABE> 50B 1)$$ RETURN C0DE 1%.
&A8 T0 B0TT0& T0 SEE )F ABEND )S E84$A)NED.
7 )F 50B .AS T.)S TY4E 0F 5C$ , E8EC S0RT=RE2)0N;2&=4AR&;>C0RE;
"--/>=CY$;"-= AND 50B FA)$S 1)T. RC1%= )NCREASE S0RT S)3E BY
)N CY$;88 T0 )NCREASE T.E S0RT 10R/ S)3E. T.ERE 1)$$ BE N0 S0RT
10R/S )N T.E 5C$ )TSE$F T0 )NCREASE S4ACE.

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
STACD , Fi!e status codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
)'0 STATUS >3"> ,
DDNA&E &)SS)N2 9C0B0$ )):.
)'0 STATUS >3*> ,
C.EC/ FD REC0RD $EN2T. A2A)NST DCB $EN2T. 9C0B0$ )):.
)'0 STATUS >3?> ,
C.EC/ B$0C/ C0NTA)NS C$AUSE )N FD 9C0B0$ )):.
)'0 STATUS >%>
READ 4AST END 0F DATA 0N F)$E 9C0B0$ )):.
)'0 STATUS >*>
READ AFTER F)$E C$0SED 9C0B0$ )):.
)'0 STATUS >+> ,
1R)T)N2 T0 F)$E 04ENED AS )N4UT.
F)$E STATUS >?2> ,
1. ANY )'0 RE#UEST A2A)NST A F)$E T.AT )S N0T 04EN.
2. ANY )'0 RE#UEST T.AT )S N0T A$$01ED F0R T.E 04T)0N T.AT
1AS S4EC)F)ED 1)T. T.E 04EN STATE&ENT. 9).E. READ A F)$E
04ENED AS AN 0UT4UT 0R RE1R)TE A F)$E 04ENED AS )N4UT:.
3. ANY 1R)TE 0R RE1R)TE 0F A REC0RD 1.0SE $EN2T. )S 2REATER
T.AN T.E &A8)&U& S)3E S4EC)F)ED )N T.E FD 9DCB:.
. ANY ATTE&4TED ACT)0N 0N A F)$E AFTER END,0F,F)$E C0ND)T)0N
.AS 0CCURED.

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
S#$CD , S#$ return codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
N0TES@
7 )N DB2 RE$ATED 50BS= D0 A F)ND 0N S#$
S#$ 1-- , R01 N0T F0UND F0R FETC.,,C0NTACT 4R02RA&&ER= RETRY 10N>T 10R/.
,2-3 , A REFERENCE T0 C0$U&N co!um,name is A&B)2U0US
,2- , NA&E )S UNDEF)NED NANE
,2-" , co!umn,name )S N0T A C0$U&N 0F TAB$E taE!e,name
,"-1 , CURS0R )DENT)F)ED )N FETC. 0R C$0SE )S N0T 04EN
,"-2 , CURS0R )DENT)F)ED )N 04EN )S A$READY 04EN
,"- , T.E CURS0R NA&E cursor,name )S N0T DEF)NED
,+-3 , )NSERT'U4DATE <A$UES )N<A$)DD C0NTACT SYS DE<
,+-" , 4R02RA& N0T F0UNDD 4R02RA& N0T B0UND AS 4ART 0/ 4$AN NA&E.
C0NTACT SYS DE<.
?15 , DEAD$0C/= RESTARTD $)/E ,?11.
?-& , ST044ED UT)$)TY= UT)$)TY )S ACT)<ED C/. )F )&A2E C04)ES ARE
RUNN)N2. RESTART AFTER )&A2E C04)ES C0&4$ETE.
,?- , DB2,TAB$E )S D01N C0NTACT SYSTE& DE<. 9RES0URCE UNA<A)$AB$E:
0R CAN BE A TE&40RARY C0NTENT)0N , RESTART $ATER.
,?11 , RES0URCE C0NTENT)0N= RESTART AFTER 50B CAUS)N2 C0NTENT)0N ENDS
,?13 , RES0URCE C0NTENT)0N= RESTART AFTER 50B CAUS)N2 C0NTENT)0N ENDS
,-E , DATA 4R0B$E& 0R DB2 )NTERNA$ ERR0R
,+1+ , B)ND 4R0B$E&= RE$ATED T0 4R0DUCT)0N U4DATES.
,?23 , DB2 C0NNECT)0N D01N= C.EC/ STATUS 0F DB2 4R0DUCT)0N
,?2 , DB2 C0NNECT)0N )NTERNA$ ERR0R ; 04ERAT)0NS C.EC/ SUBSYS DB2
CAF ERR0R@ DB2 C0NNECT)0N $)&)T .AS BEEN REAC.ED ; T00 &UC. RUNN)N2
)N DB2D RESTART AFTER AN0T.ER DB2 50B ENDS

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
&)SC , &isce!!aneous codes and messa(es
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

4ATTERN DSCB N0T F0UND )N <T0C ,)F 2D2 1)T. D)S4;NE1=CAT$2=DE$ETE=
2D2&0DE$ &UST BE )NC$UDED )N DCB; SUC. AS DCB;92D2&0DE$=RECF&;FB=ETC.

N0 4R)&ARY <0$U&E A<A)$AB$E &S2 , N0 <0$U&E>S A<A)$AB$E 1)T. EN0U2.
S4ACE F0R RECA$$.

N0 ST0RA2E <0$ , <0$;4R)< ASSU&ED , UNAB$E T0 A$$0CATE ,, C.EC/ 5C$ F0R
9S422R4=?:D S422R4 90R 0T.ER ES0TER)C: &AY .A<E DECREASED NU&BER 0F
<0$U&ES. S422R4 .AD BEEN DECREASED T0 + CAUS)N2 T.)S 5C$ERR.

A$$0CAT)0N FA)$ED DUE T0 DATA FAC)$)TY SYSTE& ERR0R
)2D1*2*3) A$$0CAT)0N .AS FA)$ED F0R A$$ <0$U&ES SE$ECTED F0R DATA SET ..NA&E
)2D1*2**) T.ERE ARE 988: CAND)DATE <0$U&ES 0F 1.)C. 88 ARE ENAB$ED 0R
#U)ESCED..
T.)S )S BAS)CA$$Y T.E SA&E AS S4ACE RE#UESTED N0T A<A)$AB$E. TRY
DECREAS)N2 S4ACE A$$0CAT)0N 4ER 2ENE 1)$$ -2'1-'?1= AND $ET 50NES 6 C0
/N01 0F T.)S S0RT 0F ABEND DUR)N2 10R/ .0URS UN$ESS UNAB$E T0 RES0$<E.
77U4DATE -%'1"'?1 , T0 DD STATE&ENT ADD ST0RC$AS;N0NS&S= )E
UN)T;SYSDA=ST0RC$AS;N0NS&S=S4ACE;9ETC:= T.EN C.AN2E'ADD USER;TTS<D&4=
4ASS10RD;BBBBBBBB T0 50B CARD T0 RESTART 4ER 50.N S.U$T3.
-1'11'?2 , C.AN2)N2 T0 UN)T;9S422R4=3: CAN 10R/. /DF
-3'21'?2 , 0R ADD)N2 &0RE S0RT10R/S. /DF

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
C)CSCD , C)CS aEend codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ADCA , 4SB &AY N0T BE )N SYNC 1)T. T.E S0URCE 4R02RA&
C.EC/ T.AT T.E DATABASE BE)N2 CA$$ED )S REF,
ERENCED )N T.E 4SB.
ADCC , .A<E SYSTE&S &ANA2E&ENT RECYC$E DBCT$ )N T.E
RE2)0N T.AT T.E ABEND )S 0CCURR)N2. )F T.)S
FA)$S T.EN CA$$ TEC. SU440RT
AD$A , 40SS)B$Y DATABASE FU$$= CA$$ DBA.
T.)S )S A 2ENERA$ )&S F)$E RE2)0N ABEND C0DE.
4R02RA&&ER CAN 4U$$ DU&4 US)N2 C)CS TRANS S431
1.ERE TAS/;CS&" ' ABEND;AD$A ' RE2)0N;F)$E RE2)0N
RE2)STER 1 1)$$ C0NTA)N )&S ABEND C0DE 9)N .E8:.
C0RRES40ND)N2 C)CS A3)% DU&4 1)$$ TE$$ 1.)C. DATA BASE.
AD$C , 4R02RA& TR)ED T0 ACCESS A DATABASE T.AT )S
D)SAB$ED.
AD$F , D$') CA$$ &ADE F0R A DATABASE= BUT T.E $)N/ T0
T.E SYSTE& 0N 1.)C. )T RES)DES )S D01N=
CA$$ DBA.
AD$2 , ERR0RS )N T.E D$') AR2U&ENT $)ST.
9<ER)FY 4CB )S SC.EDU$ED:
AE)4 , C)CS )N<RE# C0ND)T)0N , )F US)N2 $02)CA$ 4A2)N2
C.EC/ T0 SEE )F A &A4 1'0 4A2)N2 1AS SENT AFTER
ACCU& 4A2)N2 )N)T)ATED.
AE)< , $EN2ERR , )N<A$)D $EN2T. 0N SEND= RECE)<E= AND
0T.ER <ERBS
AE8T , DB2 N0T C0&4)$ED 1)T. D$') 04T)0N TURNED 0N
AEY? , DB2 .AS C0&E D01N AND BAC/ U4 BUT .AS N0T BEEN
RE,ATTAC.ED. TRY ATTAC.)N2 BY C0D)N2@
)N C)CS , FDSNC STRT "F
A/CS , DEAD$0C/ T)&E0UT.
A)CA , RUNA1AY TAS/ C0ND)T)0N= 40SS)B$E $004.
A4CT , RE#UESTED &0DU$E CANN0T BE $0CATED )N T.E 44T
0R ENTRY D)SAB$ED 9&0DU$E N0T F0UND )N T.E
$0AD $)BRARY:.
ASRA , USUA$$Y DATA E8CE4T)0N ERR0R.
ATN) , C)CS DEC)DES )T NEEDS T0 ABEND T.E TRANSACT)0N.
C0U$D BE@ )NC0RRECT DEF)N)T)0N )N TCT.
)N<A$)D DATA STREA& F0R DE<)CE TY4E.
A3)2 , T00 &ANY DATABASE CA$$S= N0T TA/)N2 C.EC/40)NT
9C.EC/ T0 SEE )F )N $004 1)T. D$') CA$$S:.
A3) , )NTERRE2)0N C0&&UN)CAT)0N RE#UEST CAN N0T BE
C0&4$ETED BECAUSE T.E 0T.ER SYSTE& .AS BEC0&E
UNA<A)$AB$E.
A3)% , T)&E 0UT= 4R02RA& &AY BE )N A $004.
)SRT 1)T. SEC0NDARY )NDE8 T.AT E8)STS RAT.ER
T.AN AN >))> STATUS C0DE.
DATA BASE 40)NTER 4R0B$E& , )NTER,RE2)0N
READ. RE$ATED T0 BUFFERS.
T.)S )S A 2ENERA$ ABEND C0DE= 0FTEN ACC0&4AN)ED
BY AN AD$A ABEND F0R T.E F)$E RE2)0N 9SEE AD$A:.
1--? , C0B0$ 2 ABEND , 10R/)N2 ST0RA2E T00 $AR2E= C0B2
A$$01S F0R <ERY $AR2E 1S BUT C)CS ST)$$ $)&)TS
AT %/.
1-11 , C0B0$ 2 ABEND , )ND)CATES USE 0F ACCE4T=
D)S4$AY= ETC. )N<A$)D <ERB.
A4$C , S.ARED $)BRARY FAC)$)T)ES ARE RE#U)RED BY T.E
4R02RA&= BUT 1ERE N0T )NC$UDED )N T.E C)CS
SYSTE& DUR)N2 )N)T)A$)3AT)0N')NSTA$$AT)0N.
A4$D , ERR0R DUR)N2 TRANS&)SS)0N 0F A REC0RD T0 T.E
C4$D #UEUE.
A4$E , ERR0R DUR)N2 4$1 4R02RA& &ANA2E&ENT 9E#UA$ T0
--- N0N C)CS ABEND:
A4$2 , A 2ET ST0RA2E RE#UEST T0 T.E ST0RA2E A$$0CAT)0N
R0UT)NE S4EC)F)ED A S)3E G T.AN C)CS'0S'<S
4ER&)TTED &A8 9%"=?%: E)T.ER A BASED 0R
C0NTR0$$ED <AR)AB$E T.AT )S T00 $AR2E )N AN
A$$0CATE ST&T= T00 &ANY $AR2E >AUT0&AT)C
<AR)A$BES.
A4$) , ERR0R DUR)N2 TRANS&)SS)0N 0F A REC0RD T0 T.E
C4$) #UEUE.
A4$& , N0 &A)N 4R0CEDURE
A4$S , TER&)NAT)0N )S CAUSED BY T.E >ERR0R> C0ND)T)0N=
AND T.E >ERR0R> C0ND)T)0N 1AS N0T CAUSED BY
AN ABEND 90T.ER T.AN AN ASRA ABEND:.
A4$8 , T0TA$ 40SS)B$E >$)F0> ST0RA2E SE2&ENTS .A<E
BEEN E8.AUSTED. C.EC/ 4R02RA& F0R $004S 0R
)NCREASE T.E >)SAS)3E> 0R >)SA)NC>.

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
)&SCD , )&S aEend codes
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
C0&&0& ABENDS'REAS0NS
ABEND REAS0N
,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
S--- ,
, -2%- TRY)N2 T0 C./4 1)T.0UT 4R)0R 8RST
, -2%1 4SB 0UT 0F SYNC 1)T. 4R02RA& , N0T EN0U2.
2SA&S DEF)NED )N 4SB.
9)N )--B&4 0R )--3B&4 &A/E SURE 4R02RA&
)S C0&4)$ED AS S.RBATC. N0T BATC.:
, -2+ 4SB NEEDS T0 BE DEF)NED )N T.E )&S RE2)0N
, -3* RACF ABEND 0N A &ESSA2E #UEUE)N2 4R02RA& US)N2
A 4SB NA&E T.AT &ATC.ES T.E 4R02RA& NA&E.
95C$ &UST C0NTA)N FA2N;A24A&SF 0N T.E E8EC CARD:
, -"% 4SB NEEDS T0 BE RESTARTED AFTER 4R)0R ABEND
0R 4SB N0T F0UND
9F0R TEST C.EC/ DB1""%34 F0R TEST 4SB 50B
T.AT S.0U$D RUN AT 1-= 12= 2 AND :
, -* 04ERAT0R CANCE$
, -*% 4SB ERR0R
, 4R02RA& N0T C0&4)$ED AS S.RBATC.
, REFER)N2 T0 ,SC N0T ,4CB )N CA$$
, -%++ CT$ 4R02RA& N0T ACT)<ED C.EC/ )F E8ECUT)N2
1R0N2 )&S 9E8= )--2B&4 )N C$ASS 5:
, -+-" 4SB N0T SC.EDU$ED'A DATA BASE )S N0T A<A)$AB$E
, -+11 BAD DATA BASE 40)NTERS , C0NTACT DBA
, -+ DATA BASE )S FU$$
, -+? CA$$ 1)T. >20> 0N SE2&ENT T.AT .AS BEEN
4RE<)0US$Y RETR)E<ED BUT N0T C0&&)TED.
DATA )NTE2R)TY N0T )NSURED.
, -+"- )NTER,RE2)0N DATA BASE BUFFER 4R0B$E&
, 33-3 S)&)$AR T0 -+-".
DATA BASE 0FF$)NE )N )&S , DATA S.AR)N2
DATA BASE &AY ST)$$ BE A<A)$AB$E )N 0N$)NE
RE2)0N.
3-2 , RUNN)N2 )N<A$)D 4R0C )N 5C$
9E8A&4$E TRY)N2 T0 E8ECUTE DB2 )N 4R0C
T.AT D0ES N0T SU440RT )T 0R TRY)N2 T0
E8ECUTE B&4 4R0C F0R DB2:
3%-1 , $)B 40)NTED T0 BY )&S DD C0U$D N0T 04EN
3%-2 , B$D$ RE#UEST FA)$ED F0R 4SB
3%-3 , RE#UESTED 4SB C0U$D N0T BE $0ADED
3%- , &)SS)N2 DDNA&E 0N 2SA& F)$E
3%1- , $00/ AT Y0UR RESTART
3%11 , 2SA& 4SB )N USER $)ST )N<A$)D
3%12 , ERR0R DUR)N2 E8TENDED C./4T CA$$
3%13 , ERR0R DUR)N2 USER CA$$ T0 2SA& DATABASE
3%1 , ERR0R DUR)N2 4UR2)N2 2SA& BUFFERS AT C./4T
3%2- , ERR0R )N A RECURS)<E CA$$ T0 CADDR4E
DUR)N2 E8TENDED RESTART
3*-* , C)CS888 N0T A<A)$AB$E
C$ASS N0T ; 5 F0R TEST S.ARE BATC.
C$ASS N0T ; / F0R 4R0D S.ARE BATC.
, -1-1 SA<EAREA T00 S&A$$
, -1-2 N0 RESTART REC0RD , DE$ETE CC"-"
3*1- , ABEND 1)T. USER C0DE= C.EC/ S4)E AREA
, ---1 4SB ERR0RD 1R0N2 4R0C 0R C0&4)$E
, --- ADDRESS E8CE4T)0N
, ---* DATA E8CE4T)0N
3*11 , C)CS N0T U4
>/)$$ER> 4R02RA& , NEED &0RE C./4TS
3*1 , A8FN N0 4R02RA& 2EN 0R TEST 4SB
, AD$F C)CS F)$E RE2)0N )S D01N
, DF.2 40SS)B$E C./4T #UEUE C0NTENT)0N
, **" EN#UE F)$E FU$$
, +2+ )NSERT)N2 DU4$)CATE SEC0NDARY )NDE8
, AD$A'+ DATABASE FU$$= C.EC/ SEC0NDARY )NDE8
, +"- BAD DATA BASE 40)NTERS
, +"2 BAD DATA BASE 40)NTERS
, +"3 )NDE8 40)NTER 4R0B$E&
, ?13 )NSUFF)C)ENT ACCESS
3*1* , 4CB N0T DEF)NED )N 4SB 0R )N<A$)D D$)
AR2U&ENT $)ST. C.EC/ >$AN2> 4AR& )N 5C$
C.EC/ $AN2UA2E 4ARA&ETER )N C)CS S.ARED
BATC. 4R0C. RE&E&BER DEFAU$T )S 4$'1.
3*23 , +-1 4SB N0T )N TAB$ES
, +-3 4SB A$READY SC.EDU$ED
, +-" 4SB N0T )N ACB$)B 0R DATA BASE 0FF$)NE
, +-% 4R02RA& N0T )N TEST $0AD $)B. C.EC/ >&BR;>
AND REC0&4)$E.
, +2+ )NSERT)N2 DU4$)CATE SEC0NDARY )NDE8.
-3% , )N<A$)D $AN2 4AR& )N 5C$ , 4R02RA& )S 4$')=
$AN2 4AR& )S >C>.
S322 , E8CEEDS T)&E 4ARA&ETER
S"22 , 04ERAT0R D)D N0T &0UNT TA4E 0N T)&E.
S*22 , 0UT$)& E8CEEDED
S+*+ , NEED T0 )NCREASE C0RE.
S132- , B$01 U4 TA/)N2 C./4T= NEED &0RE RE2)0N
U-1-2 , RESTART FA)$ED BECAUSE )&S CANN0T F)ND
RESTART )NF0 ASS0C)ATED 1)T. C.EC/40)NT )D.
C.EC/ F0R $01,<A$UES )N RESTART REC0RD.
U-3* , A44$)CAT)0N 2R0U4 NA&E 0R RES0URCES
S4EC)F)ED ARE N0T <A$)D
F0R DE4ENDENT RE2)0N
7 &AY NEED >A2N;> 4ARA&ETER=
SEE &E&BER >ARACF>.
U-"% , 4SB NEEDS T0 BE RESTARTED , SC.EDU$)N2
F0R TEST 4SBS RUNN)N2 )N )&S3 9US)N2 4R0C
)--3B&4 0R )--3DB2:= 2ET )NT0 DBAE )N TS0=
USE 04T)0N START4SB.
0R
4SB N0T NE1 C04)ED )N )&S
9F0R TEST C.EC/ DB1""%34 F0R TEST 4SB 50B
T.AT S.0U$D RUN AT 1-= 12= 2 AND :
U-%++ , RUNN)N2 2 RE2)0NS )N 1 50B.
U1?- , C./4T UT)$)TY REC0RD N0T CREATED