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
 
Copy a set of gdg generations

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

New User


Joined: 07 Apr 2005
Posts: 56

PostPosted: Mon Jul 05, 2010 6:05 pm    Post subject: Copy a set of gdg generations
Reply with quote

Hi,

I have a scenerio where i have 50 generation of a tape file. I have to copy each generation to another gdg tape file using some outrec function.

For one generation i have my proc ready where i have hard coded the generation number. But for 50 generation is there any way which can help me in using just one generic proc? Otherwise i have to write 50 step for 50 generation.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 6:10 pm    Post subject:
Reply with quote

IDCAMS Repro for 50 input/output datasets.
It is some jcl/repro statements coding, but it keeps you
of the street.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Mon Jul 05, 2010 6:10 pm    Post subject:
Reply with quote

Write 50 steps for 50 generations.

To be honest here, you could have done that in not much more time than it took you to post.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 6:12 pm    Post subject:
Reply with quote

I think the posted time stamp needs some seconds added, to make
clear who was first.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Mon Jul 05, 2010 6:16 pm    Post subject:
Reply with quote

I delayed my response to put the second line in.
Drat and double drat - I would have beaten you otherwise icon_lol.gif
Back to top
View user's profile Send private message
vinit_infy
Warnings : 1

New User


Joined: 07 Apr 2005
Posts: 56

PostPosted: Mon Jul 05, 2010 6:16 pm    Post subject:
Reply with quote

Ya i know i can just repeat 50 times in 5 seconds..but there is something called smart work...i was looking for that only..
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2445
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 6:25 pm    Post subject:
Reply with quote

vinit_infy wrote:
Ya i know i can just repeat 50 times in 5 seconds..but there is something called smart work...i was looking for that only..


Faster than 5 seconds? I think thats smart enough.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8614
Location: Back in jolly old England

PostPosted: Mon Jul 05, 2010 6:27 pm    Post subject:
Reply with quote

Define "Smart work"
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 05, 2010 9:23 pm    Post subject:
Reply with quote

Hello,

Suggest you consider a 1-step PROCedure (cataloged or proc/pend inline) and then simply have 50 EXECs with a symbolic parameter (or multiple if needed).
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 Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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