View previous topic :: View next topic
|
Author |
Message |
chandrashekar suryapet
New User
Joined: 10 May 2008 Posts: 2 Location: pune
|
|
|
|
Is it possible to copy GDG base???
if yes then what's the utility to copy GDG base???
Chandrashekar S. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
i would think this question would elicit better responses in the UTILITIES forum.
but, before you post another thread, why don't you think about your question. What is a GDG base? once you understand that, you may want to rephrase your question. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
do you mean how to copy all GDG's without specifying each generation dataset ?
If so , just specify a.b.c instead of a.b.c(0) a.b.c(-1) etc.
You can use any utility you like to perform the copy.
Gerry |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Gerry,
what would the output dd look like? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Dick,
is this a trick question ?
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Gerry,
Quote: |
is this a trick question ? |
Ah. . . I don't think so. . .
Maybe i misunderstand the requirement. . . |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
based on what I understood as the requirement, I would use something like
Code: |
//IEBGENER EXEC PGM=IEBGENER
//SYSUT1 DD DSN=CSCSGLC.FILE01,DISP=SHR * all gdg entries*
//SYSUT2 DD DSN=OUTPUT-NAME,
// DISP=(,CATLG,DELETE),
// UNIT=CART
OR
// UNIT=(SYSDA,3),SPACE=(CYL,(100,20),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
|
Gerry |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Gerry,
no, it was not a trick question ( ok, well, sorta).
My first response to the OP was due to his wording. (yeah, I am a nit picker. I have trouble second guessing questions that do not use common, acceptable jargon. - miss-use of words).
My response to you was based on the fact that unless you individually copy'ed each generation, you would end up with only one output file. That would not be a 'pure copy'. But, then we really do not know what the OP wants. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Dick,
yes I was trying to second guess the OP requirement which can have many answers.
I take your point.
Gerry |
|
Back to top |
|
|
|