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.
Joined: 25 Jan 2004 Posts: 180 Location: Toronto, Canada
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.