IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

comparison of files


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
loga_nathan_m

New User


Joined: 07 Jun 2007
Posts: 40
Location: India

PostPosted: Fri Apr 03, 2009 4:20 pm
Reply with quote

Posted by himanshu7
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Apr 03, 2009 8:57 pm
Reply with quote

In the case you give (25369 vs 54879), the records would be considered unmatched.

However, you really need to consider the matching PD values to understand if CH would work for you or not.

If your packed decimal fields are "normalized", then the comparisons will work correctly with CH format. If the packed decimal fields are "not normalized", then you'd need to use separate ON operands for the CH and PD fields.

By "normalized", I mean that all of the positive PD values have the same sign (e.g. C) and all of the negative PD values have the same sign (e.g. D).

An example of "not normalized" PD values would be where some of the positive PD values have a C sign and some of the positive PD values have an F sign.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top