|
On Tuesday 13 November 2001 5:53 pm, Giri Gopal wrote: > Hello: > > Is there a site with documentation as to the usage of IFS api calls in > RPGIV?. What I want to do is do a merge of some files into one file. My > application writes files during a business event. Each event creates > it's own file. At a periodic time I want to go merge all these event > files into one file. If any one has ideas or samples I will appreciate > it. > > > Thanks > GG If you don't manage to get info on the IFS apis, you could 'cheat' and use the QShell utilities. I use the common *nix cat, head, tail, echo, etc command to manipulate files on the IFS. It's easy to do in CL or RPG by executing a series of QSH CMD('cat filex >> bigfile') type commands. Regards, Martin -- martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
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.