|
Here is a good way to truly compare two source members that may changes that are not significant for comparing. Use a omit member like the following... NCHGT x'22',' ',1:6 OCHGT x'22',' ',1:6 NCHGT 'H*',' *',6:7 OCHGT 'H*',' *',6:7 NCHGT 'E*',' *',6:7 OCHGT 'E*',' *',6:7 NCHGT 'I*',' *',6:7 OCHGT 'I*',' *',6:7 NCHGT 'C*',' *',6:7 OCHGT 'C*',' *',6:7 NCHGT 'O*',' *',6:7 OCHGT 'O*',' *',6:7 OCHGT 'ENDIF','END ',28:32 OCHGT 'ENDDO','END ',28:32 OCHGT 'ENDCS','END ',28:32 OCHGT 'ENDSL','END ',28:32 NCHGT 'ENDIF','END ',28:32 NCHGT 'ENDDO','END ',28:32 NCHGT 'ENDCS','END ',28:32 NCHGT 'ENDSL','END ',28:32 NCHGT 'CSR','C ',6:8 OCHGT 'CSR','C ',6:8 Then create a PDM user option like... /* Campare RPG members */ ? CMPPFM ?*NEWFILE(&L/&F) ?*NEWMBR(&N) OLDFILE(WFISRC/&F) OLDMBR(&N) PTTYPE(*CHANGE) OUTPUT(*PRINT) OPTION(*RPGSRCCOL *OMTDUP) STMTFILE(PGMT/SRCMAT) STMTMBR(OMTRPGSRC) Make changes according to the use for RPG III or RPG IV. The manual is File Compare and Merge Utility (SC09-1772-xx) Thank you, Matt Tyler WinCo Foods, Inc mattt@wincofoods.com -----Original Message----- From: Joe Pluta [mailto:joepluta@PlutaBrothers.com] Sent: Friday, January 24, 2003 10:15 To: Midrange Systems Technical Discussion Subject: RE: Compare Physical File Member (CMPPFM) > From: Lim Hock-Chai > > Thanks Steve and here is the original message. > > Hi! everybody. > > does anybody know of a way to get rid of the following not match > find by CMPPFM with *LINE compare type? The line below is > obviously match between the compare from and to source member. > > I - D #NewDate C CONST('NEWDATE ') > D - D #NewDate C CONST('NEWDATE ') Check for unprintable characters. Sometimes people stick hex values in the first five positions of the record to change the color of the line. You should probably dump the records from each source member in hex and compare them. Joe _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.