IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To copy selected members from one PDS to other using IEBCOPY


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
Search our Forums:

Back to Top