S0C1 abend while running a PLI-DB2 program



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

S0C1 abend while running a PLI-DB2 program

Postby nandanrexx » Fri Sep 25, 2009 11:29 am

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.
nandanrexx
 
Posts: 3
Joined: Fri Aug 28, 2009 11:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 abend while running a PLI-DB2 program

Postby smvj007 » Sun Oct 25, 2009 7:22 am

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!.
smvj007
 
Posts: 1
Joined: Sun Oct 25, 2009 6:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 abend while running a PLI-DB2 program

Postby KuganRaja » Fri Dec 18, 2009 3:28 pm

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?
KuganRaja
 
Posts: 1
Joined: Thu Dec 10, 2009 4:52 pm
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 abend while running a PLI-DB2 program

Postby senthilkumar123 » Mon Jan 18, 2010 2:34 pm

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
senthilkumar123
 
Posts: 2
Joined: Mon Jan 18, 2010 2:25 pm
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 abend while running a PLI-DB2 program

Postby senthilkumar123 » Mon Jan 18, 2010 3:50 pm

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
senthilkumar123
 
Posts: 2
Joined: Mon Jan 18, 2010 2:25 pm
Has thanked: 0 time
Been thanked: 0 time

Re: S0C1 abend while running a PLI-DB2 program

Postby BWH3922 » Fri May 21, 2010 9:37 am

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
BWH3922
 
Posts: 2
Joined: Fri May 21, 2010 9:26 am
Has thanked: 0 time
Been thanked: 0 time


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post