View previous topic :: View next topic |
Author |
Message |
sankar narayanan Beginner
Joined: 16 Oct 2007 Posts: 29 Topics: 12
|
Posted: Tue Jul 22, 2008 7:19 am Post subject: Need to copy all GDG generations to another GDG ? |
|
|
Hi
Here goes my requirement.
I am having a GDG of 200 generations. I want to copy each generations into another GDG versions in a single JCL.Is it possible if so please help me on the way.
Eg:Input Version
Code: | USR.AAAA.TEST.G0136V00
USR.AAAA.TEST.G0137V00
USR.AAAA.TEST.G0138V00
USR.AAAA.TEST.G0139V00 |
Output:Need all the above version to the other GDG Versions. |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue Jul 22, 2008 8:21 am Post subject: |
|
|
Do you want to create 200 generations of a new GDG or do you want to create one generation of a new GDG _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
|
sankar narayanan Beginner
Joined: 16 Oct 2007 Posts: 29 Topics: 12
|
Posted: Tue Jul 22, 2008 8:52 am Post subject: |
|
|
Yes...I want to create 200 generations of the new GDG |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Jul 22, 2008 9:16 am Post subject: |
|
|
rename them. I believe by virtue of the name, they will be a member of the new gdg base.
expat, am I in error here? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
sankar narayanan Beginner
Joined: 16 Oct 2007 Posts: 29 Topics: 12
|
Posted: Tue Jul 22, 2008 9:23 am Post subject: |
|
|
i dont think its a appt solution....even if i am going to rename it the process will be too long for the 200 versions. |
|
Back to top |
|
|
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Tue Jul 22, 2008 9:48 am Post subject: |
|
|
sankar narayanan wrote: | i dont think its a appt solution....even if i am going to rename it the process will be too long for the 200 versions. |
Renaming would be lot quicker then copying! |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Tue Jul 22, 2008 2:03 pm Post subject: |
|
|
Of course if they're tapes, rename isn't possible.
Tasks such as this make my head hurt! _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
sankar narayanan Beginner
Joined: 16 Oct 2007 Posts: 29 Topics: 12
|
Posted: Tue Jul 22, 2008 11:57 pm Post subject: |
|
|
the above requirement is urgent. Please help me..... |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jul 23, 2008 1:13 am Post subject: |
|
|
is it urgent because someone dropped the ball and did not plan for this eventuality? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Wed Jul 23, 2008 1:20 am Post subject: |
|
|
If they are DASD, take a look at DFdss and the RENAME or RENAMEUNCONDITIONAL parameters.
As Bill said, if they are tape ........................ Tough luck _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Jul 23, 2008 7:46 am Post subject: |
|
|
If this is a one time thing, start coding JCL for a job with 200 steps. SORT COPY or IEBGENER.
If this will happen regularly, search for REXX examples of generating JCL from a LISTCAT. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed Jul 23, 2008 11:51 am Post subject: |
|
|
If it is urgent you could have done it manually before getting your first response! _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
sankar narayanan Beginner
Joined: 16 Oct 2007 Posts: 29 Topics: 12
|
Posted: Thu Jul 24, 2008 4:55 am Post subject: |
|
|
Ya...i have done it manually which is consumes more time.
I need this in a automated way. If you have any suggestion let me Nic Clouston. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jul 24, 2008 5:17 am Post subject: |
|
|
If you would actually read the posts, you would have found your answer:
From Bill Dennis Quote: | If this will happen regularly, search for REXX examples of generating JCL from a LISTCAT |
which now means you will have to open a new thread in the rexx forum, since you do not want read anything - there are only about 30 threads about this - and you want everyone to provide you a solution.
Urgent...................oh, pity you! _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Thu Jul 24, 2008 6:32 am Post subject: |
|
|
sankar narayanan wrote: | Ya...i have done it manually which is consumes more time.
I need this in a automated way. If you have any suggestion let me Nic Clouston. |
Perhaps if you would have answered some of the questions asked about your problem then more help would have been available.
So, I ask yet again, are these tape or DASD datasets ? Because, for a second time, if they are DASD then Dfdss will do exactly what it says on the tin, and perform the task in one simple step.
As for urgent, it may be for you but certainly not for me. |
|
Back to top |
|
|
|
|