Hi all,
I am facing the S0C1 problem while running a PLI-DB2 program.
one strange thing we noticed is ,when we gave a 'put skip list' in the program it runs fine and the return code would be zero.
We could not make out the reason for this
We have recently migrated from Non-LE to enterprise compiler...is there any issue with this(does this migration need any changes in the program like PLIXOPT).let me know if any further information is needed.
PLease help.
S0C1 abend while running a PLI-DB2 program
-
- Posts: 3
- Joined: Fri Aug 28, 2009 11:08 am
- Skillset: PL1, DB2 , REXX
- Referer: Internet
-
- Posts: 1
- Joined: Sun Oct 25, 2009 6:47 am
- Skillset: pl1, jcl, ispf, cobol, db2
- Referer: google search
Re: S0C1 abend while running a PLI-DB2 program
Hi Nanda,
You had posted the below problem on Sep 25'2009. Have you resolved this problem ?. If yes, could you let me know what was done to resolve this problem ?. We are currently converting a pl1 program to EPL1 and we are facing a S0C4 error. Like you had mentioned in your post, if we add a 'put skip' to the program, the program is running fine with no errors. If we remove the 'put skip', the program is abending with a S0C4 error. I know your error was a S0C1 error and not S0C4, but I would like to know what was the problem in your program and what you did to resolve it. Your information could be helpful to me in fixing the problem that I'm currently facing. Thanks!.
You had posted the below problem on Sep 25'2009. Have you resolved this problem ?. If yes, could you let me know what was done to resolve this problem ?. We are currently converting a pl1 program to EPL1 and we are facing a S0C4 error. Like you had mentioned in your post, if we add a 'put skip' to the program, the program is running fine with no errors. If we remove the 'put skip', the program is abending with a S0C4 error. I know your error was a S0C1 error and not S0C4, but I would like to know what was the problem in your program and what you did to resolve it. Your information could be helpful to me in fixing the problem that I'm currently facing. Thanks!.
-
- Posts: 1
- Joined: Thu Dec 10, 2009 4:52 pm
- Skillset: JCL,COBOL,DB2
- Referer: ibmmainframes.com
Re: S0C1 abend while running a PLI-DB2 program
I am not sure but this problem may be due to AMODE and RMODE.
can you let us know whether this program is calling any other PL1 program.
And i want to know just adding a 'PUT SKIP' is resolving the problem?
can you let us know whether this program is calling any other PL1 program.
And i want to know just adding a 'PUT SKIP' is resolving the problem?
-
- Posts: 2
- Joined: Mon Jan 18, 2010 2:25 pm
- Skillset: Cobol,DB2
- Referer: Online search
Re: S0C1 abend while running a PLI-DB2 program
Hi All,
I registered to this forum hoping to post this question. Good to see that it has already been posted (with no resolution though
)
We are getting S0C2/S0C4 error while running our jobs but it runs fine when we provide few put skips statements.
We noticed that the program is abending while executing a GOTO statement. ( Then we gave some put skips for debugging and the job ran fine).
(I shall post more details little later as i seem to have some problem with internet connectivity.
Please suggest
I registered to this forum hoping to post this question. Good to see that it has already been posted (with no resolution though

We are getting S0C2/S0C4 error while running our jobs but it runs fine when we provide few put skips statements.
We noticed that the program is abending while executing a GOTO statement. ( Then we gave some put skips for debugging and the job ran fine).
(I shall post more details little later as i seem to have some problem with internet connectivity.
Please suggest
-
- Posts: 2
- Joined: Mon Jan 18, 2010 2:25 pm
- Skillset: Cobol,DB2
- Referer: Online search
Re: S0C1 abend while running a PLI-DB2 program
To add :
Even i supsected initially that this coulkd be due to AMODE/RMODE issue. But it seems to be giving same problem (I compiled all programs with RMODE(24) and later link-edited everything with AMODE(31)).
Thanks,
Senthil
Even i supsected initially that this coulkd be due to AMODE/RMODE issue. But it seems to be giving same problem (I compiled all programs with RMODE(24) and later link-edited everything with AMODE(31)).
Thanks,
Senthil
Re: S0C1 abend while running a PLI-DB2 program
Hi,
Sounds like you may have an uninitialized variable/storage in one of your modules. I would check to make sure all your variables are properly initialized,
BWH
Sounds like you may have an uninitialized variable/storage in one of your modules. I would check to make sure all your variables are properly initialized,
BWH
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 1845
-
by Misha786
View the latest post
Thu Aug 25, 2022 7:19 pm
-
- 3
- 2286
-
by NicC
View the latest post
Sat Nov 21, 2020 3:16 am
-
-
RC's when running a REXX exec under ISPSTART in Batch
by golemis » Thu Nov 03, 2022 5:19 pm » in TSO & ISPF - 5
- 3501
-
by golemis
View the latest post
Fri Nov 04, 2022 2:19 pm
-
-
-
Getting 0F01C008 Error while running SMP/e Apply Check Job
by csakil » Tue Apr 06, 2021 10:58 pm » in System programming - 0
- 2850
-
by csakil
View the latest post
Tue Apr 06, 2021 10:58 pm
-
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2593
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-