|
Buck, Why couldn't you do it without the eval opcode? It would be harder without it, but it could still be done, right? In one of my programs that I write to the IFS I write the data structure name and then all of the fields in the structure get written out to the stream file. Aaron Bartell -----Original Message----- From: Buck Calabro [mailto:buck.calabro@aptissoftware.com] Sent: Wednesday, February 28, 2001 10:46 AM To: RPG400-L@midrange.com Subject: RE: RPG400 write a pc file to Folder If you mean the RPG language without the EVAL opcode, the answer is no. If you mean the RPG language with EVAL, then yes. Check out the archives under IFS, also the RPG Redbook "Who knew you could do that..." Buck Calabro Commsoft; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com > -----Original Message----- > From: Bartell, Aaron L. (TC) > Sent: Wednesday, February 28, 2001 10:50 AM > To: 'RPG400-L@midrange.com' > Subject: RE: RPG400 write a pc file to Folder > > Yes it can! Using C API's(open, close, read, write) you can write a > stream file(ASCII text file) to the IFS fairly easily. If you want some > code examples email me. > > Aaron Bartell > > -----Original Message----- > From: Superdog [mailto:superdog_s@hotmail.com] > Sent: Wednesday, February 28, 2001 9:14 AM > To: RPG400-L@midrange.com > Subject: RPG400 write a pc file to Folder > > > 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 +--- +--- | 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 mailing list archive is Copyright 1997-2025 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.