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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


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