|
<snip> our users would figure out how to CPYF to QTEMP/MYFILE prior to saving it in a save file - they're clever. <snip> Consider yourself lucky lol. I've run across some users that can't move a file to a directory after they download it, or they download it and can't find where they put it then expect me to know where it went. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 Tel: 709-576-8132 Email: rpower@xxxxxxxxxx Website: http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill rob@xxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx 16/12/2004 12:58 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Subject Re: SAVF info to Physical Steve, Maybe they've got some obscure SOX requirement that says not only do we want our ftp exit point to log all files sent/received from our iSeries, but we want it to log the contents of the save file also. Doing it at that time might be a requirement. Of course, our users would figure out how to CPYF to QTEMP/MYFILE prior to saving it in a save file - they're clever. Like when we only allowed them to download one particular file to their PC. They figured out real quick how to use that as their output file for their queries. Bryan, http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/info/apis/qsrlsavf.htm Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "Steve Landess" <sjl_abc@xxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 12/16/2004 11:00 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>, <midrange-l@xxxxxxxxxxxx> cc bryan.merrell@xxxxxxxxxx Subject Re: SAVF info to Physical > 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. > > -- 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.