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


  • Subject: Re: Using IFS API's w/ ILE RPG
  • From: wcork@xxxxxxxxx
  • Date: Thu, 9 Apr 1998 08:44:42 -0500 (CDT)

Dave,

I posted code that works on the news group comp.sys.ibm.as400.misc ( I might
have misstyped this).  If you would like it posted here as well let me know..

Wayne Cork
Sr. Programmer/Analyst
Groendyke Transprots, Inc


>Sometime back, someone posted the correct way to write data to an IFS
>file using ILE RPG and the IFS write() API.  I didn't bother looking at
>it because I use the QDCXLATE program to transalate from EBCDIC to ASCII
>before writing.  Now, I want to read from an IFS file (using read()) and
>then write a different file back out.  Most IFS files that I read work
>fine but I've run into one from an outside vendor that doesn't work.
>The file is in ASCII, but when I write it back out, it's get translated
>back to EBCDIC.  I verified this by converting the data using QDCXLATE
>before writing back out.  Does anyone have the correct way of doing
>this?  It had something to do with the codepage parameter.
>
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.