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
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts Image copy after Online reorganization. lind sh IMS DB/DC 0 Tue Jan 30, 2018 9:58 pm
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 0 Mon Jan 29, 2018 10:17 pm

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