View previous topic :: View next topic
|
Author |
Message |
vin12pr Warnings : 1 New User
Joined: 14 Jun 2006 Posts: 56
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
vin12pr Warnings : 1 New User
Joined: 14 Jun 2006 Posts: 56
|
|
|
|
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 |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Nope,
What "superk" suggested is perfect for more members. Try it out.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
mosinj
New User
Joined: 26 Nov 2006 Posts: 2 Location: pune
|
|
|
|
I feel if u write rexx code for this it will be easy |
|
Back to top |
|
|
|