Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Copy GDG base

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
chandrashekar suryapet

New User


Joined: 10 May 2008
Posts: 2
Location: pune

PostPosted: Mon Jul 14, 2008 12:02 pm    Post subject: Copy GDG base
Reply with quote

Is it possible to copy GDG base???
if yes then what's the utility to copy GDG base???

Chandrashekar S.
Back to top
View user's profile Send private message
References
PostPosted: Mon Jul 14, 2008 12:02 pm    Post subject: Re: Copy GDG base Reply with quote

dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1519
Location: germany

PostPosted: Mon Jul 14, 2008 12:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 560

PostPosted: Mon Jul 14, 2008 12:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1519
Location: germany

PostPosted: Mon Jul 14, 2008 12:21 pm    Post subject:
Reply with quote

Gerry,

what would the output dd look like?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 560

PostPosted: Mon Jul 14, 2008 12:30 pm    Post subject:
Reply with quote

Hi Dick,
is this a trick question ? icon_lol.gif


Gerry
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 7997
Location: 221 B Baker St

PostPosted: Mon Jul 14, 2008 12:38 pm    Post subject:
Reply with quote

Hi Gerry,

Quote:
is this a trick question ?
Ah. . . I don't think so. . .

Maybe i misunderstand the requirement. . .
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 560

PostPosted: Mon Jul 14, 2008 12:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1519
Location: germany

PostPosted: Mon Jul 14, 2008 12:57 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 560

PostPosted: Mon Jul 14, 2008 1:03 pm    Post subject:
Reply with quote

Hi Dick,
yes I was trying to second guess the OP requirement which can have many answers.

I take your point. icon_redface.gif


Gerry
Back to top
View user's profile Send private message
Moved: Mon Jul 14, 2008 5:46 pm by superk From DB2 to SMS & VSAM
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1