What is 'S0C7' abend?
Answers were Sorted based on User's Feedback
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 |
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 |
bad data abend, as explained in previous answer.
| Is This Answer Correct ? | 41 Yes | 11 No |
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 |
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 |
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 |
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 |
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 |
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?
in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
Explain the function of the dd dcb keyword?
Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?
a dd statement has 2 types of parameters. Name them?
How I sort the records in a file and copy the first 10 records to another file
What is the meaning of keyword in JCL? What is its opposite?
restart logic ?
I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
Name the system library from which modules are retrieved at execution