MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Syncsort Problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ranjit2705
Beginner


Joined: 25 Mar 2003
Posts: 12
Topics: 8

PostPosted: Tue Oct 14, 2003 3:00 pm    Post subject: Syncsort Problem Reply with quote

I have two flat files which are exactly same (compared in 3.13)....now I am sorting these two files using SYNCSORT. The sort criteria is same for both these files. In this case the two SORTED output files should also match exactly......but when I compare in 3.13 these two are not matching...I am getting few sequence mismatch.....I can't see any reason..can any one throw some light on this.....

Thanks
Ranjit..

Embarassed
_________________
Regards
Ranjit S Panda
Software Engineer
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Tue Oct 14, 2003 4:35 pm    Post subject: Reply with quote

Ranjit, my bet is that you have records with equal sort keys, but with other fields that are not equal. Under these circumstances, it's not impossible to get different results.

Try using the EQUALS keyword in your SORT command.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Tue Oct 14, 2003 5:04 pm    Post subject: Reply with quote

ranjit2705,

I concur with Mervyn that option equals is the culprit.so add this line in sort control cards

Code:

 OPTION EQUALS
 SORT FIELDS=(...)


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group