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 created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?
i want to store 20 digits . how will u do it in cobol ?
Describe the EXEC statement, its meaning, syntax and keywords?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?
what is XSUM in some fields= none, xsum ??
what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?