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
 

 

Merge files side by side using SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
SumanM

New User


Joined: 24 Sep 2006
Posts: 9
Location: CALCUTTA

PostPosted: Mon Oct 16, 2006 12:41 pm    Post subject: Merge files side by side using SORT
Reply with quote

Hi All,

Can anybody tell me how to merge two datasets side by side using JCL only(I mean no EZTP OR REXX).
Actually I have two datasets dataset1 containing A,B,C fields and dataset2 containg A,D,E fields.A field contains same values sorted in the same manner.I want to produce a dataset out of this which contain A,B,C,D,E.

I have tried merge using SORT utility, but it did not produce what i want. icon_sad.gif

Earliest reply will highly be appreciated..

Thanks,
- SUMAN.
Back to top
View user's profile Send private message

surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Mon Oct 16, 2006 1:13 pm    Post subject: Re: merge files side by side.
Reply with quote

Suman,

Here is the link which is posted in this forum very recently.

http://ibmmainframes.com/viewtopic.php?t=7772
Back to top
View user's profile Send private message
SumanM

New User


Joined: 24 Sep 2006
Posts: 9
Location: CALCUTTA

PostPosted: Mon Oct 16, 2006 3:25 pm    Post subject:
Reply with quote

Hi Surya,

thanx for responding ... but the link is not available now.so could you please copy/paste the code here.

-Suman
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Mon Oct 16, 2006 9:17 pm    Post subject:
Reply with quote

The information is in the "Join fields from two files on a key" Smart DFSORT Trick at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm


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