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
 

 

To copy selected members from one PDS to other using IEBCOPY

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

New User


Joined: 18 Jul 2006
Posts: 7
Location: USA

PostPosted: Mon Sep 18, 2006 8:46 pm    Post subject: To copy selected members from one PDS to other using IEBCOPY
Reply with quote

Hi,

Can anyone send me the JCL which is used to copy the first three members of the input PDS to the output PDS.

Thanks
Vijay
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 18, 2006 9:11 pm    Post subject: Re: To copy selected members from one PDS to other using IEB
Reply with quote

You'll need to use IEBCOPY. However, you're going to have to tell it what the names of the first three members are. There is no built-in feature for that.
Back to top
View user's profile Send private message
kishorepushkar

New User


Joined: 11 Sep 2006
Posts: 1
Location: noida

PostPosted: Mon Sep 18, 2006 9:59 pm    Post subject: Re: To copy selected members from one PDS to other using IEB
Reply with quote

hi

you can use the IEBCOPY ibm utility for that. but there is utility to copy only the first three members only.
In the IEBCOPY jcl just code

//SYSIN DD *
COPY INDD=SYSUT1,OUTDD=SYSUT2
SELECT MEMBER=(MEMBER1, MEMBER2. ..)
/*
//
Back to top
View user's profile Send private message
vijayarockiarajkp

New User


Joined: 18 Jul 2006
Posts: 7
Location: USA

PostPosted: Tue Sep 19, 2006 6:16 pm    Post subject:
Reply with quote

Hi Kishore,

Thanks for the reply but i need to copy the first 3 members without specifying their names. Is it possible.

Vijay
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Tue Sep 19, 2006 6:44 pm    Post subject: Re: To copy selected members from one PDS to other using IEB
Reply with quote

You somehow have to provide them. You'll have to use a program or a script to determine what the names of the first three members are. Then, they can be plugged into the ICETOOL control statements.
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 Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
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 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