When creating your procedure did you hard code the library of the Service
Program in the External Name?
If not what naming conventions (SQL or System) did you use when registering
your stored procedure?
When using System Naming the service program/procedure is searched at run
time within the library list. You may need to set the library list
correctly.
Also execute the SET PATH *LIBL statement to make sure the for SQL naming
the SQL PATH (i.e. Library list) is searched correctly.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Michael Ryan
Gesendet: Friday, 07.6 2013 14:16
An: Midrange Systems Technical Discussion
Betreff: SQL Procedure - External Program Not Found
I'm getting the following error. I first noticed it when a developer changed
service program PSESRVPGM and I couldn't access the procedure via PHP. So I
tried using Navigator and got this error. Recreated the stored procedure -
same error. I can see the service program in the library. I can see the
procedure being exported.
Any ideas? Thanks!
SQL State: 42724
Vendor Code: -444
Message: [SQL0444] External program PSESRVPGM in NEWSYS not found. Cause .
. . . . : An attempt was made to CALL procedure or invoke function
PSE_RTV_SUSPEND_ORDERSPR in NEWSYS. External program or service program
PSESRVPGM in schema NEWSYS was not found. Recovery . . . : The external
program or service program associated with the procedure or function cannot
be found. Ensure that an object exists with the name specified on the
DECLARE PROCEDURE, CREATE PROCEDURE, CREATE FUNCTION, ALTER PROCEDURE, or
ALTER FUNCTION statement. If no name was specified, ensure that an object
with a name which matches the procedure or function name specified exists.
If a program name was specified, a program object must exist. If an entry
point name was specified, then a service program object must exist. Try the
request again.
Processing ended because the highlighted statement did not complete
successfully
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.