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

joinkeys in JCL


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

New User


Joined: 29 Sep 2007
Posts: 93
Location: chenna/i-

PostPosted: Thu Aug 13, 2015 9:12 pm
Reply with quote

Hi,

I have 2 files like below.

1. MNJK11

2. MNJK11 SIVA SARAS

now i want the to take the MNJK11 FROM 1ST FILE AND CHECK IN THE 2ND FILE IF FOUND WRITE IN THE OUTPUT FILE

is that possible in JCL?

could you please guide me.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Thu Aug 13, 2015 9:26 pm
Reply with quote

As per subject header, you already know this could be done through Joinkeys. Why don't then read how to do it rather than asking? There are NUMEROUS examples on how to do it apart from the first option which is to read the Dfsort manual.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 13, 2015 11:50 pm
Reply with quote

Terminology is critical in IT, where similar terms may mean very different things. And "joinkeys" does not exist in JCL -- period. It is a SORT construct, and SORT is NOT JCL (nor is JCL a SORT product).
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2567
Location: NYC,USA

PostPosted: Tue Aug 18, 2015 2:17 am
Reply with quote

Always bookmark this link.
ftp.software.ibm.com/storage/dfsort/mvs/sorttrck.pdf
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 How can we simulate JOINKEYS in ICETOOL DFSORT/ICETOOL 8
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
No new posts New JOINKEYS Head Scratcher DFSORT/ICETOOL 2
No new posts Joinkeys overlay and unmatched with O... DFSORT/ICETOOL 11
No new posts Reformat clause in joinkeys sortcard ... DFSORT/ICETOOL 2
Search our Forums:

Back to Top