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

Sort using Join keys


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
elangovalan

New User


Joined: 10 Mar 2008
Posts: 1
Location: Coimbatore

PostPosted: Wed Mar 12, 2008 12:21 am
Reply with quote

The requirement is, I have two files and I have to find the unmatched records based on a key value. The key value is in different format in the input files. File1 has the key value in Binary format and file 2 has the key value in the ZD format. I already tried sorting with Joinkeys but it didn't work since the key is in different format. Is there a way to find the unmatched records?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Mar 12, 2008 12:27 am
Reply with quote

Record lengths and Formats, key positions and lengths, etc.?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Wed Mar 12, 2008 12:54 am
Reply with quote

elangovan,

Quote:
I already tried sorting with Joinkeys


Are you using SYNCSORT??

If you are using DFSORT, first convert and make the data formats same and then use SELECT operator to get the unmatched records.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Wed Mar 12, 2008 1:09 am
Reply with quote

elangovalan,

In a prior step, you can convert the JOINKEYS FIELD in the smaller file so they match, and then run the JOIN application.

Regards,
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top