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
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 |
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 |
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 |
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 |
What is concatenating?
What is the difference between static call & Dynamic call ?
How to pass the temp dataset form one JOB step to another?
how to solve u4038 abbend?........
How to submit jcl through a cobol program?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
what is mainframe?
What is NOTCAT ?
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?
What does IEBGENER do?