|
Thanks to everyone for all the responses.
Charles I typed in your Function, I should be testing it soon Thanks for
the time it took to paste it in I really appreciate that.
Rob, thanks for your explanation of values.
Eric I did download the iDate utility, thanks for the tip. I'll for sure
be looking into that.
Vern, Thanks for the response, I'm just getting into SQL SP's, I've done a
few External Stored procedures that are working, but have never gone deep
into sql itsself.
Charles, I just took a look, I don't recognize another midrange forum that
references iSeries DB2 SQL. Can you suggest one?
Weird, I just inserted the call to the date conversion function, and now I
get the following error: 34 Position 9 Token C1 was not valid. Valid
tokens: GLOBAL. where I wasn't getting this before.
33 SET WRKDAT = DRLTONUMSP(CURRENT_DATE); This is the function
call
34 DECLARE C1 CURSOR FOR
35
36 SELECT PCCOCD , PCAGNT , PCPOLM ,PCCOVC, PCEFDT ,PCEXDT
37 ,INLNAM , INFNAM , AGNAME
38
39 FROM SPFILES/COVMST
........
Thanks again to all
Darrell Lee
Information Technology
Extension 17127
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.