Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IEBCOPY - wild-card for member copies???

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

New User


Joined: 06 Oct 2009
Posts: 34
Location: Melbourne, Australia

PostPosted: Fri Nov 15, 2019 3:58 am    Post subject: IEBCOPY - wild-card for member copies???
Reply with quote

Hi all,

I've had a look around the manuals and can't find it. Is there any way of selecting members in a PDS or PDSE via wildcard, instead of singly, in IEBCOPY?

As background, 'we' have a batch refresh for our executables for our test environments, and naturally I'm taking a backup of the previous versions (JIC) as a part of the process. The backup run as 4 IEBCOPYs to flat files and ADRDSSU backup/delete of those flat files. But our proc and JCL libraries are somewhat bloated, and I could easily select a smaller number of items to be 'backed up', if I could use a couple of wildcards to do so.

IEBCOPY doesn't seem to offer the wildcard option. I have done a number of pre-IEBCOPY Rexxes, which can create a large input SYSIN with all the individual SELECT statements, in some other processes. Either by reading the directory directly, or using LMMLIST in batch ISPF. But both methods seem a bit over the top.

I can certainly leave it as it is, but my OCD keeps telling me that backing up 15000 members when I only need 1700 is a bad thing... (or 24500/3500)
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8553
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 15, 2019 4:24 am    Post subject: Reply to: IEBCOPY - wild-card for member copies???
Reply with quote

I don't know which release of z/OS included it, but COPYGROUP can be used to select wildcarded members. It is listed in the 2.1 Utilities manual.
Back to top
View user's profile Send private message
JPVRoff

New User


Joined: 06 Oct 2009
Posts: 34
Location: Melbourne, Australia

PostPosted: Tue Nov 19, 2019 6:46 am    Post subject: Re: Reply to: IEBCOPY - wild-card for member copies???
Reply with quote

Robert Sample wrote:
I don't know which release of z/OS included it, but COPYGROUP can be used to select wildcarded members. It is listed in the 2.1 Utilities manual.

Robert, my apologies.
As soon as I saw COPYGROUP, I realised that I'd already worked this out a few years ago!!! Admittedly, I couldn't locate (in the manual) any examples of wild-carding, but as I already had a working example happening...

And I was too embarrassed to respond until now!

Thanks!
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 Determine what library member is in, ... mdwait JCL & VSAM 9 Thu Jul 23, 2020 3:02 am
No new posts IEBCOPY COPYGROUP and EXCLUDE ecsk IBM Tools 6 Thu Jun 04, 2020 10:23 am
No new posts Submit Print Job For PDS Member With ... AllenSieracki TSO/ISPF 17 Fri Apr 10, 2020 9:31 pm
No new posts IEBGENER is not Creating Member in PD... sandeep prajapati JCL & VSAM 7 Mon Mar 23, 2020 11:50 pm
No new posts IEBCOPY - Not replace a existing PDS ... Aks1988 JCL & VSAM 15 Mon Mar 09, 2020 7:06 pm

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