IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

problem in subprogram (CICS+DB2)


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meetsrk

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Mon Nov 15, 2004 11:22 pm
Reply with quote

hi folks,

My team using cics+db2 for a application. When im trying to execute a sql query in the subprogram i get -805 sqlcode.

Each person is given one plan, one transaction id and one program-id.
I have the main program and my fellow teammate has the subprogram.
Assuming Grant permission is given to all my teammates.
All the program executions gives return code zero.

reply ASAP folks.
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Mon Nov 15, 2004 11:49 pm
Reply with quote

meetsrk wrote:
hi folks,

My team using cics+db2 for a application. When im trying to execute a sql query in the subprogram i get -805 sqlcode.

Each person is given one plan, one transaction id and one program-id.
I have the main program and my fellow teammate has the subprogram.
Assuming Grant permission is given to all my teammates.
All the program executions gives return code zero.

reply ASAP folks.



Hello,

Have you included the sub program in your dbrm list of bind process.
sqlcode -805 certainly indicates that your plan is not successful.
Try to include all the DBRm's and bind again.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top