MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SQL code of -44M in Stored Procedure

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
guru
Beginner


Joined: 26 Jul 2004
Posts: 6
Topics: 4

PostPosted: Mon Jul 26, 2004 9:00 am    Post subject: SQL code of -44M in Stored Procedure Reply with quote

hI,
We are trying to create a Stored Procedure(SP) in Cobol and call it from another Cobol Program. Is it possible to get a small sample program and the steps to be followed for creating and binding the SP ? We have followed the steps from DB2 Appllication Programming Guide and are getting the following error : 44M

SYSIBM.SYSROUTINES contains the Stored Procedure we defined. But the error thrown shows External Load module not found. Could you please help ?

Guru
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jul 26, 2004 9:22 am    Post subject: Reply with quote

Guru,

44m translates to -444. The below is the explanation of -444 sql code.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNMCH11/2.1.6.161?SHELF=&DT=20010718150520&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Jul 26, 2004 11:33 am    Post subject: Reply with quote

Guru,
You have provided very minimal information to suggest any solution. look at how the program has been compiled. Give importence to the Linklib - typically SP's are complied with different LE interfaces like DSNRLI, DSNELI, DSNCLI etc. typically SP's are executed under RRS and not thru TSOTMP. The load lib and the LE (for RRS) need to be in the WLM default libraries.
Lok for
1. How the program is compiled
2. Are you using RRS or TSO
3. What is the order of Concetanation of the Loadlibs in WLM
this should give a fairly good idea about why the Load is not being identified
thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group