|
I know how to create Stored Procedures on the /400 now but I'd like to use them in SQL on the /400. For example, I have a procedure that will return the week# for a given ISO date. Can I do anything like the following, and if so, can I use the statement in both embedded SQL RPG and interactive SQL?
select date, rtvweek(date, week#) from file where date between '1999-01-01' and '1999-06-30'
Thanks,
Dave
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.