What do you do to resolve SOC-7 error?
Answer Posted / chellad
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 |
Post New Answer View All Answers
Can a Search can be done on a table with or without Index?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the LINKAGE SECTION used in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is static and dynamic call in cobol?
What is the compute verb? How is it used?
how do you reference the ksds vsam file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different rules to perform a Search?
What is perform what is varying?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?