Hii all,
A production billing job is abended with soc7 error with u0999 return code.to resolve this issue i copied the abended job element into my test pds and did cob trace on and ran the job but the job rans successfully with out any error, and again i ran the same job with cobtrace off on the cobol element this time i got the soc7 error like in production.need your suggestions on this isuue.
thanks,
Soc7 error
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: Soc7 error
Which compiler and operating system are you using? What do you mean by "did cob trace on"? My guesses on those is that you are using something very old.
As to why it abends/doesn't abend, my first thought would be that you have program code or data being overwritten, and by doing whatever the trace does, different program code or is now being overwritten and you don't get the S0C7.
You are lucky that you get the S0C7 outside of Production. All you have to do now is solve that dump. If you are unsure of how to do that, ask your seniors or your technical support. Especially with this type of situation, it is difficult to dump-solve on a forum.
As to why it abends/doesn't abend, my first thought would be that you have program code or data being overwritten, and by doing whatever the trace does, different program code or is now being overwritten and you don't get the S0C7.
You are lucky that you get the S0C7 outside of Production. All you have to do now is solve that dump. If you are unsure of how to do that, ask your seniors or your technical support. Especially with this type of situation, it is difficult to dump-solve on a forum.
Re: Soc7 error
I am using Z/0s operating system,and project specified compilation tool. My doubt is why the job runs succesfully when i use "cobtrace on" for the abending cobol element.why it is thowed error when i noramlly compile and link the element with out any cobtrace activity, In my view cobtarce is just for dispalying the program flow in spool if am not wrong?
Re: Soc7 error
Is there any option to find out the problem occured cobol code ,with out using of offset code method..because compile listing is not available for my files.
-
- Posts: 239
- Joined: Wed Dec 04, 2013 11:08 pm
- Skillset: COBOL, JCL, ISPF.
- Referer: While searching the Internet for answers.
- Location: Richfield, MN, USA
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1462
-
by sergeyken
View the latest post
Sun Oct 04, 2020 11:33 pm
-
- 0
- 1205
-
by mehi1353
View the latest post
Tue May 28, 2024 2:42 pm
-
- 1
- 4679
-
by jcdm
View the latest post
Mon Jul 17, 2023 3:48 pm
-
- 9
- 4488
-
by steve-myers
View the latest post
Sat Nov 13, 2021 12:17 am
-
- 4
- 2089
-
by willy jensen
View the latest post
Tue Apr 20, 2021 1:26 pm