× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rob,

Tried option 1. No change

2, this is the only function in the table. The only one on the system.
I've done this at other releases, but this client is on V5R1 for now. The
only thing is that it is in QGPL, not ELTEXEDI, but QGPL is in the library
list, and it's not overloaded with another function.

3. Everything is uppercase.

Mark

Mark Walter
Paragon Consulting Services, Inc.
IBM Certified System i Specialist
717-764-7909 Ext. 26
mwalter@xxxxxxxxxxxxxxx
www.paragon-csi.com



rob@xxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
02/15/2008 10:53 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: SQL Function






Initial basics:

Try this:
1 -
insert into qtemp/testtbl
values(1,GETPRGDATE(cast(180 as int)));

2 - Make sure you're not overloaded with:
SELECT substr(ROUTINE_SCHEMA,1,10) as FuncLib,
substr(routine_name,1,10) as FuncName,
substr(specific_schema,1,10) as SpecificFuncLib,
substr(specific_name,1,10) as SpecificFunction,
substr(external_name,1,60) as ExternalName
FROM sysfuncs
where routine_schema='ELTEXEDI'

3 - Check the capitalization, spelling, etc on the subprocedure with
DSPSRVPGM SRVPGM(ELTEXEDI/GETPRGDATE) DETAIL(*PROCEXP)


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.