<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Compare physical file data</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 19:19:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: dand</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59899</link>
		<dc:creator>dand</dc:creator>
		<pubDate>Thu, 12 Feb 2009 20:38:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-59899</guid>
		<description><![CDATA[I suspect your are doing this to verify your production objects match the source change date.  You will need member information from the source files so do DSPFD *MBRLIST to an outfile and dspobd of your pgm objects to an outfile and query using member name to match pgm name then compare last change date for the member vs. creation date for the objects.......if that&#039;s what you&#039;re trying to accomplish.]]></description>
		<content:encoded><![CDATA[<p>I suspect your are doing this to verify your production objects match the source change date.  You will need member information from the source files so do DSPFD *MBRLIST to an outfile and dspobd of your pgm objects to an outfile and query using member name to match pgm name then compare last change date for the member vs. creation date for the objects&#8230;&#8230;.if that&#8217;s what you&#8217;re trying to accomplish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59869</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Thu, 12 Feb 2009 11:01:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-59869</guid>
		<description><![CDATA[Hi,

If you have 2 files output from DSPOBJD and need to compare the object and source change dates, then Query is going to be the way to go.  CMPPFM is for comparing the raw data in the file, it doesn&#039;t take into account field names in the way that you want.

Create a query, use WRKQRY - option 1.  In file selections specify both your DSPOBJD files (use F9 to add the second file).  Specify matched records (this will join the records from one file to the other).  For the fields used to join, specify T01.ODLBNM EQ T02.ODLBNM  and T01.ODOBNM EQ T02.ODOBNM.  In select and sequence fields, choose the fields that you want to see from both DSPOBJD files.  I would suggest the following :-

T01.ODLBNM
T01.ODOBNM
T01.ODOBTP
T01.ODOBAT
T01.ODOBTX
T01.ODSRCD
T01.ODSRCT
T01.ODLDAT
T01.ODLTIM
T02.ODSRCD
T02.ODSRCT
T02.ODLDAT
T02.ODLTIM

Then specify your record selections, something like this should give every non matching object/source date/time :-
&lt;pre&gt;
       T01.ODSRCD        NE     T01.ODSRCD
OR     T01.ODSRCT        NE     T01.ODSRCT
OR     T01.ODLDAT        NE     T01.ODLDAT
OR     T01.ODLTIM        NE     T01.ODLTIM
&lt;/pre&gt;

Set your output type to be display or printer or file (whichever you want).  and run the query...

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>If you have 2 files output from DSPOBJD and need to compare the object and source change dates, then Query is going to be the way to go.  CMPPFM is for comparing the raw data in the file, it doesn&#8217;t take into account field names in the way that you want.</p>
<p>Create a query, use WRKQRY &#8211; option 1.  In file selections specify both your DSPOBJD files (use F9 to add the second file).  Specify matched records (this will join the records from one file to the other).  For the fields used to join, specify T01.ODLBNM EQ T02.ODLBNM  and T01.ODOBNM EQ T02.ODOBNM.  In select and sequence fields, choose the fields that you want to see from both DSPOBJD files.  I would suggest the following :-</p>
<p>T01.ODLBNM<br />
T01.ODOBNM<br />
T01.ODOBTP<br />
T01.ODOBAT<br />
T01.ODOBTX<br />
T01.ODSRCD<br />
T01.ODSRCT<br />
T01.ODLDAT<br />
T01.ODLTIM<br />
T02.ODSRCD<br />
T02.ODSRCT<br />
T02.ODLDAT<br />
T02.ODLTIM</p>
<p>Then specify your record selections, something like this should give every non matching object/source date/time :-</p>
<pre>
       T01.ODSRCD        NE     T01.ODSRCD
OR     T01.ODSRCT        NE     T01.ODSRCT
OR     T01.ODLDAT        NE     T01.ODLDAT
OR     T01.ODLTIM        NE     T01.ODLTIM
</pre>
<p>Set your output type to be display or printer or file (whichever you want).  and run the query&#8230;</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59864</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 12 Feb 2009 03:48:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-59864</guid>
		<description><![CDATA[That&#039;s entirely different.  Something like Query should do it.
Only one problem if your looking for object in either list that don&#039;t exist in the other then you will need two queries.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s entirely different.  Something like Query should do it.<br />
Only one problem if your looking for object in either list that don&#8217;t exist in the other then you will need two queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reachme</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59854</link>
		<dc:creator>reachme</dc:creator>
		<pubDate>Wed, 11 Feb 2009 18:23:11 +0000</pubDate>
		<guid isPermaLink="false">#comment-59854</guid>
		<description><![CDATA[Badically I was trying to compare the object and source change dates on two different systems. I did a DSPOBJD on both the systems and got the two files on the same system using NetFile transfer. Now I need to compare the two files. I tried CMPPFM but it is returning me lots of junk values like some special characters.]]></description>
		<content:encoded><![CDATA[<p>Badically I was trying to compare the object and source change dates on two different systems. I did a DSPOBJD on both the systems and got the two files on the same system using NetFile transfer. Now I need to compare the two files. I tried CMPPFM but it is returning me lots of junk values like some special characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59848</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Wed, 11 Feb 2009 15:53:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-59848</guid>
		<description><![CDATA[Hi,

You say CMPPFM didn&#039;t work out.  In what way ?  Is it because the files are physically on 2 different systems ?

I have a tool for using CMPPFM between systems - unfortunately it needs to copy the file to the local system using DDM so it&#039;s not quick if you have big files.

&lt;b&gt;CMD Source&lt;/b&gt;
&lt;pre&gt;
             CMD        PROMPT(&#039;Compare remote member&#039;)                  
                                                                         
             PARM       KWD(LCLFILE) TYPE(QUAL1) MIN(1) +                
                          PROMPT(&#039;Local file&#039;)                           
             PARM       KWD(LCLMBR) TYPE(*CHAR) LEN(10) MIN(1) +         
                          PROMPT(&#039;Local member name&#039;)                    
                                                                         
             PARM       KWD(RMTFILE) TYPE(QUAL2) MIN(1) +                
                          PROMPT(&#039;Remote file&#039;)                          
             PARM       KWD(RMTMBR) TYPE(*CHAR) LEN(10) MIN(1) +         
                          PROMPT(&#039;Remote member name&#039;)                   
                                                                         
             PARM       KWD(SYSTEM) TYPE(*CHAR) LEN(15) MIN(1) +         
                          PROMPT(&#039;System name or IP address&#039;)            
                                                                         
             PARM       KWD(CMPTYPE) TYPE(*CHAR) LEN(5) RSTD(*YES) +     
                          DFT(*LINE) VALUES(*LINE *FILE *WORD) +         
                          PROMPT(&#039;Compare type&#039;)                         
                                                                         
             PARM       KWD(RPTTYPE) TYPE(*CHAR) LEN(8) RSTD(*YES) +     
                          DFT(*DIFF) VALUES(*DIFF *SUMMARY *CHANGE +     
                          *DETAIL) PROMPT(&#039;Report type&#039;)                 
                                                                               
             PARM       KWD(OUTPUT) TYPE(*CHAR) LEN(8) RSTD(*YES) +            
                          DFT(*) VALUES(* *PRINT *OUTFILE) +                   
                          PROMPT(&#039;Output&#039;)                                     
                                                                               
             PARM       KWD(OUTFILE) TYPE(QUAL3) PROMPT(&#039;Output file&#039;)         
                                                                               
 QUAL1:      QUAL       TYPE(*NAME) LEN(10) MIN(1)                             
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT(&#039;Library&#039;)          
 QUAL2:      QUAL       TYPE(*NAME) LEN(10) MIN(1)                             
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT(&#039;Remote Library&#039;)   
 QUAL3:      QUAL       TYPE(*NAME) LEN(10)                                    
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT(&#039;Library&#039;)          
&lt;/pre&gt;

&lt;b&gt;CL Source&lt;/b&gt;
&lt;pre&gt;
             PGM        PARM(&amp;QUAL1 &amp;LCLMBR &amp;QUAL2 &amp;RMTMBR &amp;SYSTEM +   
                          &amp;CMPTYPE &amp;RPTTYPE &amp;OUTPUT &amp;QUAL3)            
                                                                       
             DCL        VAR(&amp;QUAL1)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;LCLLIB)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;LCLFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;LCLMBR)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;QUAL2)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;RMTLIB)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;RMTFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;RMTMBR)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;SYSTEM)     TYPE(*CHAR) LEN(15)           
             DCL        VAR(&amp;CMPTYPE)    TYPE(*CHAR) LEN(5)            
             DCL        VAR(&amp;RPTTYPE)    TYPE(*CHAR) LEN(8)            
             DCL        VAR(&amp;OUTPUT)     TYPE(*CHAR) LEN(8)            
             DCL        VAR(&amp;QUAL3)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;OUTFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;OUTLIB)     TYPE(*CHAR) LEN(10)           
                                                                       
             DCL        VAR(&amp;QUALRMTFIL) TYPE(*CHAR) LEN(40)           
                                                                       
             DCL        VAR(&amp;MSGDTA) TYPE(*CHAR) LEN(512)              
             DCL        VAR(&amp;MSGID) TYPE(*CHAR) LEN(7)    
             DCL        VAR(&amp;MSGF) TYPE(*CHAR) LEN(10)               
             DCL        VAR(&amp;MSGFLIB) TYPE(*CHAR) LEN(10)            
                                                                     
             MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(ERROR))      
                                                                     
             CHGVAR     VAR(&amp;LCLFIL) VALUE(%SST(&amp;QUAL1 1 10))        
             CHGVAR     VAR(&amp;LCLLIB) VALUE(%SST(&amp;QUAL1 11 10))       
                                                                     
             CHGVAR     VAR(&amp;RMTFIL) VALUE(%SST(&amp;QUAL2 1 10))        
             CHGVAR     VAR(&amp;RMTLIB) VALUE(%SST(&amp;QUAL2 11 10))       
                                                                     
             CHGVAR     VAR(&amp;OUTFIL) VALUE(%SST(&amp;QUAL3 1 10))        
             CHGVAR     VAR(&amp;OUTLIB) VALUE(%SST(&amp;QUAL3 11 10))       
                                                                     
             CHGVAR     VAR(&amp;QUALRMTFIL) VALUE(&amp;RMTLIB *TCAT &#039;/&#039; +   
                          *TCAT &amp;RMTFIL *TCAT &#039;(&#039; *TCAT &amp;RMTMBR +    
                          *TCAT &#039;)&#039;)                                 
                                                                     
             DLTF       FILE(QTEMP/CMPRMTMBR)                        
             MONMSG     MSGID(CPF0000)                               
             DLTF       FILE(QTEMP/CMPRMTMBRX)                       
             MONMSG     MSGID(CPF0000)                               
                                                                     
             CRTDDMF    FILE(QTEMP/CMPRMTMBR) RMTFILE(*NONSTD +      
                          &amp;QUALRMTFIL) RMTLOCNAME(&amp;SYSTEM) +           
                          TEXT(&#039;Compare Remote Members DDMFile&#039;)       
                                                                       
             CPYF       FROMFILE(QTEMP/CMPRMTMBR) +                    
                          TOFILE(QTEMP/CMPRMTMBRX) FROMMBR(&amp;RMTMBR) +  
                          TOMBR(&amp;RMTMBR) CRTFILE(*YES)                 
                                                                       
             IF         COND(&amp;OUTPUT ¬= &#039;*OUTFILE&#039;) THEN(DO)           
             CMPPFM     NEWFILE(&amp;LCLLIB/&amp;LCLFIL) NEWMBR(&amp;LCLMBR) +     
                          OLDFILE(QTEMP/CMPRMTMBRX) OLDMBR(*FIRST) +   
                          CMPTYPE(&amp;CMPTYPE) RPTTYPE(&amp;RPTTYPE) +        
                          OUTPUT(&amp;OUTPUT)                              
             ENDDO                                                     
                                                                       
             IF         COND(&amp;OUTPUT = &#039;*OUTFILE&#039;) THEN(DO)            
             CMPPFM     NEWFILE(&amp;LCLLIB/&amp;LCLFIL) NEWMBR(&amp;LCLMBR) +     
                          OLDFILE(QTEMP/CMPRMTMBRX) OLDMBR(*FIRST) +   
                          CMPTYPE(&amp;CMPTYPE) RPTTYPE(&amp;RPTTYPE) +        
                          OUTPUT(&amp;OUTPUT) OUTFILE(&amp;OUTLIB/&amp;OUTFIL)     
             ENDDO                                                     
                                                                       
             DLTF       FILE(QTEMP/CMPRMTMBR)                          
             MONMSG     MSGID(CPF0000)                                 
             DLTF       FILE(QTEMP/CMPRMTMBRX)
             MONMSG     MSGID(CPF0000)                                  
                                                                        
             GOTO       CMDLBL(ENDPGM)                                  
                                                                        
ERROR:                                                                  
             RCVMSG     MSGTYPE(*LAST) MSGDTA(&amp;MSGDTA) MSGID(&amp;MSGID) +  
                          MSGF(&amp;MSGF) MSGFLIB(&amp;MSGFLIB)                 
             SNDPGMMSG  MSGID(&amp;MSGID) MSGF(&amp;MSGFLIB/&amp;MSGF) +            
                          MSGDTA(&amp;MSGDTA)                               
                                                                        
ENDPGM:                                                                 
             ENDPGM                                                     
&lt;/pre&gt;                        
             
Hope this helps...

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You say CMPPFM didn&#8217;t work out.  In what way ?  Is it because the files are physically on 2 different systems ?</p>
<p>I have a tool for using CMPPFM between systems &#8211; unfortunately it needs to copy the file to the local system using DDM so it&#8217;s not quick if you have big files.</p>
<p><b>CMD Source</b></p>
<pre>
             CMD        PROMPT('Compare remote member')                  
                                                                         
             PARM       KWD(LCLFILE) TYPE(QUAL1) MIN(1) +                
                          PROMPT('Local file')                           
             PARM       KWD(LCLMBR) TYPE(*CHAR) LEN(10) MIN(1) +         
                          PROMPT('Local member name')                    
                                                                         
             PARM       KWD(RMTFILE) TYPE(QUAL2) MIN(1) +                
                          PROMPT('Remote file')                          
             PARM       KWD(RMTMBR) TYPE(*CHAR) LEN(10) MIN(1) +         
                          PROMPT('Remote member name')                   
                                                                         
             PARM       KWD(SYSTEM) TYPE(*CHAR) LEN(15) MIN(1) +         
                          PROMPT('System name or IP address')            
                                                                         
             PARM       KWD(CMPTYPE) TYPE(*CHAR) LEN(5) RSTD(*YES) +     
                          DFT(*LINE) VALUES(*LINE *FILE *WORD) +         
                          PROMPT('Compare type')                         
                                                                         
             PARM       KWD(RPTTYPE) TYPE(*CHAR) LEN(8) RSTD(*YES) +     
                          DFT(*DIFF) VALUES(*DIFF *SUMMARY *CHANGE +     
                          *DETAIL) PROMPT('Report type')                 
                                                                               
             PARM       KWD(OUTPUT) TYPE(*CHAR) LEN(8) RSTD(*YES) +            
                          DFT(*) VALUES(* *PRINT *OUTFILE) +                   
                          PROMPT('Output')                                     
                                                                               
             PARM       KWD(OUTFILE) TYPE(QUAL3) PROMPT('Output file')         
                                                                               
 QUAL1:      QUAL       TYPE(*NAME) LEN(10) MIN(1)                             
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT('Library')          
 QUAL2:      QUAL       TYPE(*NAME) LEN(10) MIN(1)                             
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT('Remote Library')   
 QUAL3:      QUAL       TYPE(*NAME) LEN(10)                                    
             QUAL       TYPE(*NAME) LEN(10) DFT(*LIBL) +                       
                          SPCVAL((*CURLIB) (*LIBL)) PROMPT('Library')          
</pre>
<p><b>CL Source</b></p>
<pre>
             PGM        PARM(&amp;QUAL1 &amp;LCLMBR &amp;QUAL2 &amp;RMTMBR &amp;SYSTEM +   
                          &amp;CMPTYPE &amp;RPTTYPE &amp;OUTPUT &amp;QUAL3)            
                                                                       
             DCL        VAR(&amp;QUAL1)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;LCLLIB)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;LCLFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;LCLMBR)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;QUAL2)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;RMTLIB)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;RMTFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;RMTMBR)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;SYSTEM)     TYPE(*CHAR) LEN(15)           
             DCL        VAR(&amp;CMPTYPE)    TYPE(*CHAR) LEN(5)            
             DCL        VAR(&amp;RPTTYPE)    TYPE(*CHAR) LEN(8)            
             DCL        VAR(&amp;OUTPUT)     TYPE(*CHAR) LEN(8)            
             DCL        VAR(&amp;QUAL3)      TYPE(*CHAR) LEN(20)           
             DCL        VAR(&amp;OUTFIL)     TYPE(*CHAR) LEN(10)           
             DCL        VAR(&amp;OUTLIB)     TYPE(*CHAR) LEN(10)           
                                                                       
             DCL        VAR(&amp;QUALRMTFIL) TYPE(*CHAR) LEN(40)           
                                                                       
             DCL        VAR(&amp;MSGDTA) TYPE(*CHAR) LEN(512)              
             DCL        VAR(&amp;MSGID) TYPE(*CHAR) LEN(7)    
             DCL        VAR(&amp;MSGF) TYPE(*CHAR) LEN(10)               
             DCL        VAR(&amp;MSGFLIB) TYPE(*CHAR) LEN(10)            
                                                                     
             MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(ERROR))      
                                                                     
             CHGVAR     VAR(&amp;LCLFIL) VALUE(%SST(&amp;QUAL1 1 10))        
             CHGVAR     VAR(&amp;LCLLIB) VALUE(%SST(&amp;QUAL1 11 10))       
                                                                     
             CHGVAR     VAR(&amp;RMTFIL) VALUE(%SST(&amp;QUAL2 1 10))        
             CHGVAR     VAR(&amp;RMTLIB) VALUE(%SST(&amp;QUAL2 11 10))       
                                                                     
             CHGVAR     VAR(&amp;OUTFIL) VALUE(%SST(&amp;QUAL3 1 10))        
             CHGVAR     VAR(&amp;OUTLIB) VALUE(%SST(&amp;QUAL3 11 10))       
                                                                     
             CHGVAR     VAR(&amp;QUALRMTFIL) VALUE(&amp;RMTLIB *TCAT '/' +   
                          *TCAT &amp;RMTFIL *TCAT '(' *TCAT &amp;RMTMBR +    
                          *TCAT ')')                                 
                                                                     
             DLTF       FILE(QTEMP/CMPRMTMBR)                        
             MONMSG     MSGID(CPF0000)                               
             DLTF       FILE(QTEMP/CMPRMTMBRX)                       
             MONMSG     MSGID(CPF0000)                               
                                                                     
             CRTDDMF    FILE(QTEMP/CMPRMTMBR) RMTFILE(*NONSTD +      
                          &amp;QUALRMTFIL) RMTLOCNAME(&amp;SYSTEM) +           
                          TEXT('Compare Remote Members DDMFile')       
                                                                       
             CPYF       FROMFILE(QTEMP/CMPRMTMBR) +                    
                          TOFILE(QTEMP/CMPRMTMBRX) FROMMBR(&amp;RMTMBR) +  
                          TOMBR(&amp;RMTMBR) CRTFILE(*YES)                 
                                                                       
             IF         COND(&amp;OUTPUT ¬= '*OUTFILE') THEN(DO)           
             CMPPFM     NEWFILE(&amp;LCLLIB/&amp;LCLFIL) NEWMBR(&amp;LCLMBR) +     
                          OLDFILE(QTEMP/CMPRMTMBRX) OLDMBR(*FIRST) +   
                          CMPTYPE(&amp;CMPTYPE) RPTTYPE(&amp;RPTTYPE) +        
                          OUTPUT(&amp;OUTPUT)                              
             ENDDO                                                     
                                                                       
             IF         COND(&amp;OUTPUT = '*OUTFILE') THEN(DO)            
             CMPPFM     NEWFILE(&amp;LCLLIB/&amp;LCLFIL) NEWMBR(&amp;LCLMBR) +     
                          OLDFILE(QTEMP/CMPRMTMBRX) OLDMBR(*FIRST) +   
                          CMPTYPE(&amp;CMPTYPE) RPTTYPE(&amp;RPTTYPE) +        
                          OUTPUT(&amp;OUTPUT) OUTFILE(&amp;OUTLIB/&amp;OUTFIL)     
             ENDDO                                                     
                                                                       
             DLTF       FILE(QTEMP/CMPRMTMBR)                          
             MONMSG     MSGID(CPF0000)                                 
             DLTF       FILE(QTEMP/CMPRMTMBRX)
             MONMSG     MSGID(CPF0000)                                  
                                                                        
             GOTO       CMDLBL(ENDPGM)                                  
                                                                        
ERROR:                                                                  
             RCVMSG     MSGTYPE(*LAST) MSGDTA(&amp;MSGDTA) MSGID(&amp;MSGID) +  
                          MSGF(&amp;MSGF) MSGFLIB(&amp;MSGFLIB)                 
             SNDPGMMSG  MSGID(&amp;MSGID) MSGF(&amp;MSGFLIB/&amp;MSGF) +            
                          MSGDTA(&amp;MSGDTA)                               
                                                                        
ENDPGM:                                                                 
             ENDPGM                                                     
</pre>
<p>Hope this helps&#8230;</p>
<p>Regards,</p>
<p>Martin Gilbert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: py</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/compare-physical-file-data/#comment-59835</link>
		<dc:creator>py</dc:creator>
		<pubDate>Wed, 11 Feb 2009 01:58:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-59835</guid>
		<description><![CDATA[Hi, with the wrkQry you can do that. Just define those two files in that and common fields, if there is any difference it picks up all those records in the Query. Let me know if you need more info on this.]]></description>
		<content:encoded><![CDATA[<p>Hi, with the wrkQry you can do that. Just define those two files in that and common fields, if there is any difference it picks up all those records in the Query. Let me know if you need more info on this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 339/340 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 22:18:07 -->