if you have big pgm. during compilation is abends with
(soc7)how do you know which line has soc 7 error.

Answers were Sorted based on User's Feedback



if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 ..

Answer / lu

When you COMPiLE your program !!!! How can u get soc7 ????.
Don't confuse the COMPILATION and EXECUTION your program...
I have compile a program more 100000 lines, i never get
SOC7.....but i execute my pgrm i chet it because sapce or
alpha in my numeric field....

correct me if i'm wrong..

Is This Answer Correct ?    11 Yes 2 No

if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 ..

Answer / bala

Check for the offset address. which will give you the extact
line which is responsible for S0C7.

Also use Abend-aid if have it....

Is This Answer Correct ?    6 Yes 0 No

if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 ..

Answer / harish

use the abend-aid to display sysdump....which is same as
sysout.........abend-aid has a diagonostic section , which
will give two things the the variable which caused the abend
adn the the nexat squential instruction ..........generally
soc7 will occur due to bad data....i.e an unintialised
working-storage section item.........to be more
precise....an arthimetic operation performed on non-numeric
junk......there lot of ways to check and correct this, i've
jus told one method..

Is This Answer Correct ?    2 Yes 0 No

if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 ..

Answer / anu

By using Parm.cobol=test also u can able to identified, on
which line abend is occur.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More JCL Interview Questions

Please give me the coding for converting VB to FB and FB to VB

3 Answers   HP,


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

0 Answers   IBM,


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

3 Answers   Cognizant,


How do you pass parameters to the program as the job is being executed ?

2 Answers  


What do you understand by the terms: joblib and steplib?

0 Answers  






What are the utility programs in jcl?

0 Answers  


wht happens if blksize = 0 and lrec = 0 ?

1 Answers   TCS,


Explain about REXX

1 Answers  


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

2 Answers   IBM,


How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,


If Region=0k means What Happen?

2 Answers   IBM,


Categories