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



Dan,

I did see that in the service program when I took a quick look at it. But
it seemed to me that it only did the conversion if you passed it a string.

Reading an IFS file, the program didn't do any conversion.

I could have missed it though.

Charles

On Thu, Jun 18, 2009 at 5:04 PM, Dan <dan27649@xxxxxxxxx> wrote:

Thanks Charles. I did a small test using the same string on the i as well
as in a text file in Windows, and got the same MD5 value. I suspect the
service program might already be converting the input data:
// Get conversion table for 819 from 37
Qtqcvrt(Ccsid1:St1:StartMap:L1:Ccsid2:St2:Gccasn:L2:To819:L3:L4:Fb);
// Change message to ccsid 819 (ascii).
Convert(Inputdata:%Addr(To819):InputLength);
This is from the link I provided in my original post.

Unfortunately, I just tried it on a larger file, one of the smallest I'll
need to be able to test, and got RNQ0425:
The length requested for storage allocation is out of range.

I guess I need to figure out if I can allocate more than 16776704 bytes.
FWIW, we're running on V5R4.

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