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: 8505
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 Create Dynamic Sort card with Omit co... balaji81_k DFSORT/ICETOOL 9 Thu Sep 26, 2019 10:06 pm
No new posts Dynamically split large DSN list into... Ghellar CLIST & REXX 14 Tue Sep 17, 2019 8:24 pm
No new posts To remove the spaces using SORT Card dharmaraok DFSORT/ICETOOL 1 Tue Apr 30, 2019 3:42 pm
No new posts REXX identify the last/latest created... sivatechdrive CLIST & REXX 7 Thu Jan 24, 2019 12:15 pm
No new posts Member from PARMLIB fabioverta All Other Mainframe Topics 6 Thu Dec 13, 2018 9:04 pm

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