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
 
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: 4650
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: 4650
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm

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