Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

problem in subprogram (CICS+DB2)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: problem in subprogram (CICS+DB2)
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    Post subject: Re: problem in subprogram (CICS+DB2)
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us