View previous topic :: View next topic
|
Author |
Message |
vinit_infy Warnings : 1 New User
Joined: 07 Apr 2005 Posts: 56
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
IDCAMS Repro for 50 input/output datasets.
It is some jcl/repro statements coding, but it keeps you
of the street. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
I think the posted time stamp needs some seconds added, to make
clear who was first. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I delayed my response to put the second line in.
Drat and double drat - I would have beaten you otherwise |
|
Back to top |
|
|
vinit_infy Warnings : 1 New User
Joined: 07 Apr 2005 Posts: 56
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Define "Smart work" |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|