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

IEBCOPY - wild-card for member copies???


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Fri Nov 15, 2019 4:24 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DB2 group member usage DB2 0
This topic is locked: you cannot edit posts or make replies. Parsing more than 1000 columns in a s... SYNCSORT 10
No new posts Determine what library member is in, ... JCL & VSAM 9
No new posts IEBCOPY COPYGROUP and EXCLUDE IBM Tools 6
No new posts Submit Print Job For PDS Member With ... TSO/ISPF 17
Search our Forums:

Back to Top