Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
-927 SQLCODE, when IMSDB2 program calling DB2 prog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
Author Message
Vignesh Natarajan

New User


Joined: 14 Jun 2008
Posts: 1
Location: NJ

PostPosted: Mon Jun 16, 2008 9:43 pm    Post subject: -927 SQLCODE, when IMSDB2 program calling DB2 prog
Reply with quote

Hi,
I am trying to call a pure DB2 program from IMSDB2 program.
At the time of first query in the called program(Pure DB2) i am getting SQLCODE of -927. I have calling program compiled with IMS/DB2 processor group and called program with DB2 processor group in ENDEVOR.

I have my JCL setup to process IMS/DB2 then why am i getting error only in the called module? is there any other JCL changes required? Can any one help me?

When I compile the called program also with IMSDB2 processor group, I am not getting this error.
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8721
Location: 221 B Baker St

PostPosted: Mon Jun 16, 2008 11:01 pm    Post subject:
Reply with quote

Hello,

Given that your solution will be site-specific, you need to talk with someone else on your project or the support people and learn the correst way to do this on your system.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1