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 SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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