Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us