×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Are you seeing anything funny in the joblog? Like
MCH1210 Receiver value too small to hold result.

H Datfmt(*ISO)
H NOMAIN
D GETPRGDATE PR 10I 0
D NumDays 10i 0 const
P GETPRGDATE B EXPORT
D GETPRGDATE PI 10i 0
D NumDays 10i 0 const
D WorkDate s d
D NumDate s 10i 0
D
/free
*inlr=*on;
WorkDate=%date() + %days(NumDays);
NumDate=%dec(WorkDate:*iso);
return NumDate;
/end-free
P GETPRGDATE E

CREATE FUNCTION GETPRGDATE (INTEGER)
RETURNS int
EXTERNAL NAME 'ROB/GETPRGDATE(GETPRGDATE)'
LANGUAGE RPGLE
NOT DETERMINISTIC
NO SQL
returns null on null input
no external action allow parallel
simple call

Gives me the error when I run the insert.

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-2026 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.