Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


how do you resolve for soc7 error

Answers were Sorted based on User's Feedback



how do you resolve for soc7 error..

Answer / santy

SOC7 abend occure due to the data exception or mostly due
to moving of non-numric data into numric data field.

we can resolve this correcting the data format.

Is This Answer Correct ?    32 Yes 3 No

how do you resolve for soc7 error..

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

how do you resolve for soc7 error..

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

how do you resolve for soc7 error..

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

how do you resolve for soc7 error..

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

how do you resolve for soc7 error..

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

Post New Answer



More JCL Interview Questions

Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

0 Answers   IBM,


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


What is GDG and what is the maximum limit of versions that can be created?

9 Answers   Convergys,


i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it

1 Answers   L&T,






How to delete generations of gdg without deleting gdg base?

3 Answers  


Why do you use a control card?

3 Answers   IBM, iNautix,


How to alter the parameters for the existing gdg?

0 Answers  


What is a S0C4 error ?

2 Answers  


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 Answers  


I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?

4 Answers   BirlaSoft, FIS, Wipro,






Categories