|
> Is there a command that would help with the task below? > > FILE_DEV is on the Development system and FILE_PROD is on > the Production > system. > > FILE_DEV has 108 members. > > FILE_PROD has 84 members. > > 1) I need to add members to FILE_DEV with any members that > exist in > FILE_PROD that don't exist in FILE_DEV. > > 2) I also need to delete any members that exist in > FILE_DEV that don't > exist in FILE_PROD. Nothing automated, but you could automate it yourself simply by displaying all of the member names in each file to a separate work file (Example: DSPFD FILE(FILE_DEV) TYPE(*MBRLIST) OUTPUT(*OUTFILE) OUTFILE(JOHN/File1)) and then running a process that did ADDPFM or RMVPFM as the case required. jte -- John Earl | Chief Technology Officer The PowerTech Group 19426 68th Ave. S Seattle, WA 98032 (253) 872-7788 ext. 302 john.earl@xxxxxxxxxxxxxxxxxx www.powertech.com This email message and any attachments are intended only for the use of the intended recipients and may contain information that is privileged and confidential. If you are not the intended recipient, any dissemination, distribution, or copying is strictly prohibited. If you received this email message in error, please immediately notify the sender by replying to this email message, or by telephone, and delete the message from your email system. --
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.