| View previous topic :: View next topic |
| Author |
Message |
Sarangadhar Beginner
Joined: 14 Oct 2004 Posts: 130 Topics: 43 Location: virtual village
|
Posted: Tue Mar 08, 2005 10:14 am Post subject: Steored procedures are not working from windows to mainframe |
|
|
Hi,
We have stored procedures that call mainframe database tables. these are COBOL coded SPs. When we try to call SP from Stored procedure biulder it is giving the below error.[/color]
_________________ Thanks |
|
| Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Tue Mar 08, 2005 11:29 am Post subject: |
|
|
If STAYRESIDENT is set to YES, then you will need to refresh the load module after each change. Issue command /STO PROCEDURE(???) followed by /STA PROCEDURE(???) thru DB2I.
DB2 Version 5 kept the definition of the procedure in SYSPROCEDURES. Version 6 (I believe) moved it to SYSROUTINES. You now need to define or alter the procedure using DCL rather than by adding it to the table. |
|
| Back to top |
|
 |
|
|
|