• Subject: RE: opendir() in RPG IV
  • From: Tim McCarthy <TimM@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Mar 1999 13:43:02 -0500

Buck, I have a program that does exactly this. You can have it if you
want it. It is in C though.


>                                                                    
> > -----Original Message-----
> > From:       Buck Calabro/commsoft [SMTP:mcalabro@commsoft.net]
> > Sent:       Tuesday, March 16, 1999 10:09 AM
> > To: midrange-l@midrange.com
> > Subject:    opendir() in RPG IV
> > 
> > Anybody get opendir() to work in RPG IV, or should I use the 
> > Qp0lProcessSubtree API?  It works great in C, but I get errno = 3025
> (not 
> > found) when I try it in RPG IV.  I think it may be a bad mapping for
> the 
> > DIR struct.  I am hampered in using C because of shop standards.
> > 
> > My goal is to be able to read all the file names from an IFS
> directory, 
> > pass them one at a time to another RPG program, then delete them so
> they 
> > don't get re-processed.
> > 
> > Thanks!
> > 
> > Buck Calabro
> > Billing Concepts (formerly CommSoft) Albany, NY
> > mailto:mcalabro@commsoft.net
> > +---
> > | This is the Midrange System Mailing List!
> > | To submit a new message, send your mail to
> MIDRANGE-L@midrange.com.
> > | To subscribe to this list send email to
> MIDRANGE-L-SUB@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
> > +---
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@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
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].