What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

Answers were Sorted based on User's Feedback



What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / guest

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

S0C4-may be due to 1.Missing Select statement(during
compile) 2.Bad Subscript/index 3.Protection Exception
4.Missing parameters on called subprogram 5.Read/Write to
unopened file 6.Move data from/to unopened file

S0C5-May be due to 1.Bad Subscript/index 2.Closing an
unopened dataset 3.Bad exit from a perform 4.Access to I/O
area(FD) before read

S0C7-may be due to 1.Numeric operation on non-numeric data
2.Un-initialize working-storage 3.Coding past the
maximum allowed sub script

S0CB-may be due to 1.Division by Zero

Is This Answer Correct ?    147 Yes 20 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / aap

I completely agree with Answer 1.
Just to add to B37 abend (while agreeing to it) -
we get abends like SB37, SD37 etc.
Actually S is for system, 37 denotes the space abend.
But the 2nd alphabet B is for blocks, D is for DASD
etc...the unit of colume for which the space parameter has
been defined..This helps to resolve a lot of confusions :-)

Is This Answer Correct ?    52 Yes 9 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / brian

B37 - Runtime ABEND usually encountered when writing to a
file and running out of space allocated in the dataset
paramemters of the DD statement.

Is This Answer Correct ?    43 Yes 11 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / rja

S0C7-may be due to Numeric operation on non-numeric data

Is This Answer Correct ?    23 Yes 1 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / varun jain

SOC 1 - JCL DD name missing.

SOC 4 / SOC 5 - Subscript error

Is This Answer Correct ?    14 Yes 4 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / sujitha

THE ANSWER 1 IS EXACTLY CORRECT

SOC1-DD NAME MIS SPELT
READ THE FILE IN OUTPUT MODE
WRITE THE FILE IN INPUT MODE

SOC4-BAD SUBSCRIPT OR INDEX
OPENING THE ALREADY OPENED FILE

SOC7-WHEN WE TRY TO PERFORM THE NUMERIC OPERATION ON NON
NUMERIC DATA

AND THE SPACE ABENDS THAT WE GET ARE SB37,SE37 AND SD37

SB37-END OF THE VOLUME

SE37-IN THE SPACE PARAMETER IF WE DONT SPECIFY THE NO OF
DIRECTORY BLOCKS

SD37-IN THE SPACE PARAMETER IF WE DONT SPECIFY THE
SECONDARY QUANTITY

Is This Answer Correct ?    12 Yes 13 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / sampath kumar

soc1 :-operation exceptions...
causes for this abend
misspelled ddname
error in parameters passed to subroutins.. etc
soc4 :- protection exception-
invalid address was refferenced due to subscript error
or bad parms..etc
soc7 :- decimal exception-
dicimal data is incorrect or improperly overlapped or
not validly initialized...etc
socb :- decimal devide exception..
a quotient exceeds the specified data size...etc

Is This Answer Correct ?    3 Yes 8 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / arpita

SOC1 : INSUFFICENT SPACE IN OUTPUT FILE

Is This Answer Correct ?    4 Yes 23 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / venkat

yes,no,yes,

Is This Answer Correct ?    1 Yes 31 No

What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?..

Answer / tom

S0CB -this is also the space abend.(ie)Due to unavalability
of enough space.

Is This Answer Correct ?    15 Yes 52 No

Post New Answer

More JCL Interview Questions

Explain about LMCOPY -

1 Answers  


IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)

8 Answers  


if the submitter of a job wants to inform another user about the job completion, how can it be done?

0 Answers   IBM,


Explain about File Tailoring

1 Answers  


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

0 Answers  






what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

0 Answers   HP,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


How does jcl act on a cobol code?

0 Answers  


What is the purpose of dd * statement in jcl?

0 Answers  


what is the difference between perform varying and perform

1 Answers  


What are the 2 types of parameters in dd statement?

0 Answers  


Categories