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



No, I hadn't tried that so I just did.  It didn't like CAST and suggested I
use CHARSTRING, which I did, but it kept giving me an error on the fifth
parameter saying CHARSTRING was not found in *LIBL (see statement below).

call APROCEDURE (charstring('USERPROF  '), charstring('Y'), charstring(' '),
charstring(' '), charstring(' '))

Why it thinks the first four CHARSTRING keywords are okay but not the fifth
eludes me. 

Thanks.

Donald R. Fisher, III
Project Manager
Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@xxxxxxxxxxxxx


<clip>
have you tried to call this procedure from iSeries Navigator?

For SQL CHAR and VARCHAR are different data types and expressions are
handled as VARHCAR!
If you want to use expressions you have to CAST them to CHAR, i.e.

CALL MyLib/MyProc (Cast('MyText' as CHAR(10))
<clip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.