× 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: RPG400 write a pc file to Folder
  • From: "Superdog superdog" <superdog_s@xxxxxxxxxxx>
  • Date: Thu, 01 Mar 2001 06:09:20 -0000

I am using RPG/400 not the ILE, can you kindly provide some sample codes 
for me as reference ?
Thank you.


>From: Scott Klement <klemscot@klements.com>
>Reply-To: RPG400-L@midrange.com
>To: RPG400-L@midrange.com
>Subject: Re: RPG400 write a pc file to Folder
>Date: Wed, 28 Feb 2001 10:22:26 -0600 (CST)
>
>
>The answer is "yes."  You can write a pc-style stream file to a folder
>on the AS/400 from RPG.
>
>Confusingly, you did not specify whether you are running RPG III (The OPM
>version, frequently called "RPG/400") or RPG IV (the ILE version, called
>"ILE RPG/400")
>
>If you're using the old, rancid, RPG III method you'll need to call the
>HFS APIs.  These are awkward, and limited to QDLS only, but they'll work.
>You can call QDCXLATE to translate from EBCDIC to ASCII.
>
>If you're running RPG IV, take the extra effort to learn the IFS APIs.
>They're a lot better, and are not limited to QDLS.  But, arguably, theres
>a bigger learning curve.
>
>Of course, I'd be happy to supply some examples, but you didn't really
>give enough information for me to do that.
>
>On Wed, 28 Feb 2001, Superdog wrote:
>
> > Can a RPG400 program write the data to a pc file in a folder directly ?
> > Thank you.
> >
>
>+---
>| This is the RPG/400 Mailing List!
>| To submit a new message, send your mail to RPG400-L@midrange.com.
>| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
>| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: 
david@midrange.com
>+---

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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-Ups:

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.