What do you do to resolve SOC-7 error?

Answers were Sorted based on User's Feedback



What do you do to resolve SOC-7 error?..

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

What do you do to resolve SOC-7 error?..

Answer / 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

More COBOL Interview Questions

Can we call a CICS program from a batch program or viceversa?If so, how?

3 Answers  


How do you submit JCL via a Cobol program?

5 Answers   IBM,


what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.

2 Answers   TCS,


What are some examples of command terminators?

1 Answers  






consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end

3 Answers   TCS,


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

0 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?

2 Answers   TCS,


What rules are followed by the search verb.

0 Answers  


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?

4 Answers   iGate,


Categories