Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need to compare two files using SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ursvmg

New User


Joined: 24 May 2007
Posts: 52
Location: Chennai

PostPosted: Fri Feb 22, 2008 9:55 am    Post subject: Need to compare two files using SYNCSORT
Reply with quote

Hi All,
I need to compare two files. One file contains the sequence number. Other contains header, data and trailer.
Header contains the sequence number and trailer contains the total number of records.

Sequence number file is 5bytes length. Ex. 12345
Details of second file:
H2102200812345
abd
saf
asdf
T000003

First i need to validate the sequence number and if matches, then i need to validate the trailer count whether the number of records read matches with the trailer count.

Currently I'm using a PLI program to do the above. Is it possible to do the above using SYNCSORT tool. Is that an efficient way?


FYI... My environment dont have DFSORT installed. We have only SYNCSORT v1.1

Please let me know the possibilities.


Regards,
ursvmg
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Feb 22, 2008 10:45 am    Post subject: Re: Need to compare two files using SYNCSORT
Reply with quote

ursvmg wrote:
FYI... My environment dont have DFSORT installed. We have only SYNCSORT v1.1
You know this & still the post is in DFSORT forum. Here in this forum Syncsort related queris are discussed under JCL forum.
Back to top
View user's profile Send private message
ursvmg

New User


Joined: 24 May 2007
Posts: 52
Location: Chennai

PostPosted: Fri Feb 22, 2008 11:25 am    Post subject:
Reply with quote

Oh.. I'm sorry. Will do it properly hereafter ..
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Feb 22, 2008 12:31 pm    Post subject:
Reply with quote

AFAIK... you need version 1.2 in order to use the JOIN feature.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us