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 |
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
difference between internal sort and external sort
What are the differences between JES2 & JES3 ?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
how can i use the parameters decalred in main pgm in sub pgm
how to purge 50 initiators continuously?? console commands??
is step name is compulsory in jcl ?
How to use COND Parameter in jcl
What is jcl in mainframe?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
What is MOD and when would you use it?
how can we pass external data to instream procedures
5 Answers IBM, Infosys, Ocwen,