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 |
List in order the hierarchical levels of jcl?
What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?
How is the keyword DUMMY used in JCL?
i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
How to rename a VSAM file as well as it's index file?
What is concatenating?
What is the function of //jcllib statement?
what do you mean by include statement in jcl?
What happens if both JOBLIB and STEPLIB is specified ?
Explain about LMOPEN -
What do you understand by jcl?