how do you resolve for soc7 error
Answers were Sorted based on User's Feedback
Answer / munish
SOC7 is data exception and can occur when packed
instructions are used. For its resolution , we have to
correct the data or conversion formatin the program.
Is This Answer Correct ? | 26 Yes | 7 No |
Answer / vidhya
Q31) Basically you need to correcting the offending
data. Many times the reason for SOC7 is an un-initialized
numeric item.
Examine that possibility first. Many installations provide
you a dump for run time abend’s ( it can be generated also
by calling some subroutines or OS services thru assembly
language). These dumps provide the offset of the last
instruction at which the abend occurred. Examine the
compilation output XREF listing to get the verb and the
line
number of the source code at this offset. Then you can
look at the source code to find the bug. To get capture
the
runtime dumps, you will have to define some datasets
(SYSABOUT etc ) in the JCL. If none of these are helpful,
use
judgement and DISPLAY to localize the source of error.
Some installation might have batch program debugging
tools. Use them.
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / srinivas yadav
SOC7: NON-NUMERIC FILEDS ON NUMERIC FIELDS
TO RESOLVE: GO TO SPOOL AND COPY THE OFFSET VALUE AND TYPE
IN THE COMMAND LINE F OFFSETVALUE, IT GOES TO THE
PARTICULAR PLACE SO THAT WE NEED TO CHANGE IT.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / soumya
Actualy S0C7 abends normaly happens due to wrong data/ non-
numeric data in numeric field.By wrong data i mean to say
like if key is duplicated or some garbage data.
The resolution can be done in two ways :
1)code fix by which you can fix the cobol program code and
stage it
2)By deleting the bad records from the file
But be carefull about the file deletion if its a batch
process and some other jobs depend on the p[articular
job,so it can effect to other if any wron fixation done.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / mohi
go to spool and check what data is moved to the variable
present in the code. and definitely u will come to know
what to do..
Is This Answer Correct ? | 1 Yes | 1 No |
What statement can be used to send data to another mvs jes3 node?
how many members can be created inside a single pds?
whats the difference between empty and noempty of GDG?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How to read records in reverse order in flat file?
what are the ways of passing data to a cobol program from jcl?
i just need the first and last record from a sequencial file?how
Can we call instream to catalog and catalog to instream?
In how ways you can pass the data from Jcl to cobol ?
Is it possible to left uncode disp? If yes, how?
Explain dfsort utility?