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 |
i want to store 20 digits . how will u do it in cobol ?
Can we use DISP=SHR in output file in JCL
Can I send output of job to my remote device careerride123?
How can i execute 5th step without executing first 4 steps?
How can you trap abends in the JCL?
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
wht is the d/f between positional parameter n keyword parameter ?
What is the use of DSNDB07 ?
Explain about REXX
wht is sysudump n sysout,sysprint ?
Is automatic restart possible in jcl? If yes, how?