What is 'S0C7' abend?

Answers were Sorted based on User's Feedback



What is 'S0C7' abend?..

Answer / guest

Caused by invalid data in a numeric field.

Is This Answer Correct ?    135 Yes 12 No

What is 'S0C7' abend?..

Answer / satyasivaji.ch

It is an data exception,occurs due to wen ur entered
non-numeric data in numeric fieid.

Is This Answer Correct ?    104 Yes 9 No

What is 'S0C7' abend?..

Answer / xyz

SOC7 ABEND OCCURS IN FOLLOWING CASES
1.Numeric Operation on Non-numeric data

2.Coding past the maximum allowed subscript.

3.Un-initialize working storage.

Is This Answer Correct ?    70 Yes 12 No

What is 'S0C7' abend?..

Answer / sankarikumar

bad data abend, as explained in previous answer.

Is This Answer Correct ?    41 Yes 11 No

What is 'S0C7' abend?..

Answer / sathya

what they said is right.but i got this error my mistake is
S0C7
Invalid character in COMP/COMP-3 numeric field – check all
COMP/COM-3 numeric fields and arithmetic operations

Is This Answer Correct ?    26 Yes 7 No

What is 'S0C7' abend?..

Answer / rakesh kumar.govind

soc7 occurs when type conversion mismatch occurs i.e from
numeric to alphabet.

Is This Answer Correct ?    21 Yes 14 No

What is 'S0C7' abend?..

Answer / madhu

If you get S0C7 means some of your numeric variables/data
items have invalid data. now we need to find out how to do
this.

while compiling use compiler option LIST. it will give
listing of your cobol program in spool.

Now, run your program, it will abend will with S0C7
go to spool and take the last four bytes of offset.

open the compiler listing and find those 4 bytes in the
compiler listing.
you can find the position, where S0C7 occured.

In this way , we can find the position where S0C7 error got
generated.

Is This Answer Correct ?    10 Yes 3 No

What is 'S0C7' abend?..

Answer / muttaiah

Can someone provide us the step by step procedure to solve
the SOC7 Abend

I'm working in prod supt and we generally get the SOC7
abends.

YOur help in this regard will help me a lot in survivind

Is This Answer Correct ?    4 Yes 1 No

What is 'S0C7' abend?..

Answer / manish jindal

Dear Muttaiah,

You need to find the exact field where the SOC7 abend has
occured & than try to look into the data that is moved into
it & property of the field.

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More JCL Interview Questions

what r the types of job control statements?

2 Answers  


how to convert a file form fixed Length to variable length?

2 Answers   Syntel,


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?

1 Answers   Accenture,


How can a fb file convert to vb file using sort program?

0 Answers  






How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.

1 Answers   HSBC,


Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!

2 Answers  


Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths

4 Answers   IBM,


wht is sysudump n sysout,sysprint ?

1 Answers   L&T,


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


Categories