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
 

 

Copy unmatched members in 2 datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Tue May 22, 2007 10:27 am    Post subject: Copy unmatched members in 2 datasets
Reply with quote

I have 2 PDS's. Both of them have some members. I need to copy only those members which are not common in both of the datasets.

Can anybody propose some solution to this??

Vin12pr
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 22, 2007 1:08 pm    Post subject: Re: Copy unmatched members in 2 datasets
Reply with quote

Create a member list of PDS1. Create a member list of PDS2. Eliminate the duplicate member names. The end result should be a list of member names that are not common. Run those names through the IEBCOPY program.
Back to top
View user's profile Send private message
vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Tue May 22, 2007 1:48 pm    Post subject: Re: Copy unmatched members in 2 datasets
Reply with quote

Lets say If I have around 1000 members in each of them..Then the above process will be a tedious one.

What do u say?

Thnx,
Vin12pr
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Tue May 22, 2007 2:20 pm    Post subject:
Reply with quote

Nope,

What "superk" suggested is perfect for more members. Try it out..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 22, 2007 9:17 pm    Post subject: Re: Copy unmatched members in 2 datasets
Reply with quote

vin12pr wrote:
Lets say If I have around 1000 members in each of them..Then the above process will be a tedious one.

What do u say?

Thnx,
Vin12pr


Tedious? For whom? You only have to write the code once. I doubt that the mainframe ever experiences tedium. The whole process is trivial and would take a very short period of time to accomplish.
Back to top
View user's profile Send private message
mosinj

New User


Joined: 26 Nov 2006
Posts: 2
Location: pune

PostPosted: Wed May 23, 2007 8:43 am    Post subject:
Reply with quote

I feel if u write rexx code for this it will be easy
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


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