Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sort using Join keys

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Sort using Join keys
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Wed Mar 12, 2008 12:54 am    Post subject: Reply to: Sort using Join keys
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: 500
Location: USA

PostPosted: Wed Mar 12, 2008 1:09 am    Post subject: Reply to: Sort using Join keys
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    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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us