What do you do to resolve SOC-7 error?
Answers were Sorted based on User's Feedback
Answer / a.roselin
1. Abend Aid is one of the tool which will trace out the
invalid numeric data over the field.
2. In Spool we could see the offset address of the invalid
numeric field and copy the offset address and pass it to
Parm Parameter on the JCL, it will display the invalid
numeric field of the statement in COBOL program.
| Is This Answer Correct ? | 8 Yes | 5 No |
Soc7 abend will be thrown because of moving any non numeric variable to numeric variable.
The fix is , you have to go to spool.
Check for the DD names either CESDUMP or AbendAid.
Please select the DD name using S
Then try to find the offset address and line number.
If line number doesn't exist then copy offset address and go back to SYSPRINT in spool
In the command line type L_offset address and press enter
You can now see the exact line.
Now go to your program and enter the line number in command area and press enter
You will be moved to the exact line which has error..you can correct it and then go for recompilation and execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
COMP?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
What type of SDLC u followed? Why?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
What are the different data types in cobol?
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
Can 88 level variable be declared in FD section..?
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..
perform I from 0 by 1 until I=5?How maney times it will executes
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
How can you get the ksds file records into your cobol program?