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



LOL, too many cups of coffee this morning Dennis :-)


Norm Dennis

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Dennis Lovelady
Sent: Tuesday, 20 July 2010 10:55 PM
To: 'RPG programming on the IBM i / System i'
Subject: RE: Reading Pipe - ASCII -> EBCDIC Conversion

Really cannot find one? Not sure where you're looking then. If you search
for iconv at http://archive.midrange.com, you will find hundreds of hits.
Scott has posted good examples that I cannot find at the moment. I think I
posted some too a while back, but same scenario. Here is another thread
where you may find some help. Note that this is the reverse (EBCDIC->ASCII)
but other than that it's the same topic.

http://archive.midrange.com/rpg400-l/201003/msg00311.html

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
All racists who are prepared to die for their contry, please do that now.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
bounces@xxxxxxxxxxxx] On Behalf Of MattLavinder@xxxxxxxxxxxxxxxxxxx
Sent: Tuesday, July 20, 2010 10:19 AM
To: RPG programming on the IBM i / System i
Cc: 'RPG programming on the IBM i / System i'; rpg400-l-
bounces@xxxxxxxxxxxx
Subject: RE: Reading Pipe - ASCII -> EBCDIC Conversion

I couldn't find a good iconv example. Can you provide an example of
how to
do this using iConv?

Matt

rpg400-l-bounces@xxxxxxxxxxxx wrote on 07/20/2010 09:20:29 AM:

[image removed]

RE: Reading Pipe - ASCII -> EBCDIC Conversion

Dennis Lovelady

to:

'RPG programming on the IBM i/System i'

07/20/2010 09:26 AM

Sent by:

rpg400-l-bounces@xxxxxxxxxxxx

Please respond to RPG programming on the IBM i / System i

Well, although iconv would probably be a better choice, what I see
looks
OK
so far. What does stdin() look like?

And of course, the all-important, oft-forgotten point: What does
"doesn't
work" mean, exactly?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Nature gave man two ends - one to sit on and one to think with. Ever
since
then man's success or failure has been dependent on the one he used
most."
-- George R. Kirkpatrick


Have been looking at writing a pipe to process log information from
the
IBM
HTTP. Program reads data but it appears to be in ASCII. Tried
using
the
follow code to convert it and it didn't work. What did I do wrong?

http://code.midrange.com/904006d529.html



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.