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



Number one, CL cannot pass parameters by value.  I
don't know about passing a character parm and having
it show up as a date field as I have never tried that.
 Convert your procedure to not pass the parameter by
value and see if you get closer.

Scott Mildenberger
--- Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx> wrote:
> 
> D GetInvPDFDir    PR            80
> D                                 D   DatFmt(*ISO)
> Value
> 
> I need to call this from a CL program.  I thought I
> therefore needed to 
> define the parm in the CL as *CHAR length 10.  I
> did, and confirmed that 
> it contains valid data such as '2003-04-15'.  When I
> debug the RPG 
> service program, however, I am receiving garbage
> from the CL.


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.