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
 
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 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 copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am

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