|
I actually just wrote something quick to do it for me:-) I am sooo impatient sometimes. Check it out at the following address... http://mowyourlawn.com/blog/?p=15 Basically you pass in the server you want to pull source from along with the library and then an FTP server you want to send the code to in .zip format (basically I automated the full loop of putting it on a remote FTP server for offsite backup) I will take a look at XMLPREVIEW. Thanks for responding. Aaron Bartell -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Holden Tommy Sent: Wednesday, April 05, 2006 1:05 PM To: RPG programming on the AS400 / iSeries Subject: RE: RPG Code Backup to PC Take a look at XMLPREVIEW....just google it. Craig Rutledge wrote the base for XMLPREVIEW & Thomas Radditz created a PC app to interface with it. It works well. I wrote a wrapper command around it so I could backup all source file in one fell swoop. Or you could take 5-10 mins & write a CL program to use CPYTOSTMF for each source file member... Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of albartell Sent: Wednesday, April 05, 2006 8:53 AM To: 'RPG programming on the AS400 / iSeries' Subject: RPG Code Backup to PC I am doing a lot more coding on different machines where I need to ensure the code gets backed up appropriately. To date I have been using WDSc to go into each source physical file and copy the contents of each to a folder on my local HD. I know this isn't the norm for shops that have their own dedicated server that gets backed up every night and easy access is available for those backups. But for consultants and the like it is a necessary evil to ensure there is no code loss due to somebody waxing a library they though wasn't needed. Here's what I am looking for: Does anybody know of a utility that could auto-mate the process of backing up RPG source physical files on an iSeries? Something to the effect of being able to specify source and destination directories. I could write a small app in Java to do this via FTP in a couple hours, but didn't want to head that route if somebody already accomplished the task and was willing to share. TIA, Aaron Bartell -- 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.