IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy GDG base


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandrashekar suryapet

New User


Joined: 10 May 2008
Posts: 2
Location: pune

PostPosted: Mon Jul 14, 2008 12:02 pm
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
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 14, 2008 12:06 pm
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: 1702
Location: Australia

PostPosted: Mon Jul 14, 2008 12:10 pm
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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 14, 2008 12:21 pm
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: 1702
Location: Australia

PostPosted: Mon Jul 14, 2008 12:30 pm
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

Moderator Emeritus


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

PostPosted: Mon Jul 14, 2008 12:38 pm
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: 1702
Location: Australia

PostPosted: Mon Jul 14, 2008 12:55 pm
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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 14, 2008 12:57 pm
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: 1702
Location: Australia

PostPosted: Mon Jul 14, 2008 1:03 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top