|
> Bryan Merrell" wrote: > Subject: RE: SAVF info to Physical > We are creating a logging mechanism for all save files being FTP'd. We need to create a directory of what is in each save file going out. > Sorry that wasn't clear. Bryan - Why don't you capture this information when the SAV* command is run? IMO, It would be much easier, since the SAV* commands allow you to specify an outfile in which to put a list of objects saved. Example: SAVOBJ OBJ(*ALL) LIB(SJL001) DEV(*SAVF) SAVF(QTEMP/TEMP) OUTPUT(*OUTFILE) OUTFILE(QTEMP/OBJLST) OUTMBR(*FIRST *ADD) This way you don't have muck around with writing a program using API's to retrieve information from the save files. Regards, Steve Landess Austin, Texas (512) 423-0935 > -----Original Message----- > From: Bob Cozzi [mailto:cozzi@xxxxxxxxx] > Sent: Wednesday, December 15, 2004 4:12 PM > To: 'RPG programming on the AS400 / iSeries' > Subject: RE: SAVF info to Physical > > Do you mean copy the save file to a physical file, or create a directory of > the content of the save file and put that directory into a save file? > -Bob > > > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] > On Behalf Of Bryan Merrell > Sent: Wednesday, December 15, 2004 4:49 PM > To: RPG Midrange List (E-mail) > Subject: SAVF info to Physical > > Has anyone already written a utility that will take a SAVF and list out all > of it's contents to a Physical File. > I have found the API's necessary to do such (list contents to a user space > and then read into a physical) but it seems like something that has been > done a million times. > Anyone have one that they are willing to share source code? > I have searched out on the web and couldn't find anything quickly. (1,330 > hits with Google on "Physical SAVF" ). I also couldn't find anything out in > the archives. > > TIA, > Bryan Merrell > Bryan.merrell@xxxxxxxxxx <mailto:Bryan.merrell@xxxxxxxxxx> > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.