Clone a Member many time.

JES2/3, JCL, utilities.
Post Reply
Rashid
Registered Member
Posts: 12
Joined: Mon Dec 09, 2013 11:02 pm

Clone a Member many time.

Post by Rashid »

Hi,

I need to copy a member more than 100 times by changiing its name. Is there a simple way of "cloning" the member of a PDS 100 times, with different member names? I'm not sure how can I do that so posting it in JCL Forum.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 837
Joined: Wed Sep 11, 2013 3:57 pm

Re: Clone a Member many time.

Post by enrico-sorichetti »

all depends on the new name rules

You will have to use Your sort product or a rexx script to generate the copy statements

or just use a bit of lateral thinking to do it with a few ispf commands.

( pretty easy if the new names are numbered in sequence )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Rashid
Registered Member
Posts: 12
Joined: Mon Dec 09, 2013 11:02 pm

Re: Clone a Member many time.

Post by Rashid »

enrico-sorichetti wrote: pretty easy if the new names are numbered in sequence )
I'll numbered them in sequence then how should I proceed? Please guide.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”