Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> JCL & VSAM
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    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

dbzTHEdinosauer

Global Moderator


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

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: 1703
Location: Australia

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

Global Moderator


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

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: 1703
Location: Australia

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

Site Director


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

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: 1703
Location: Australia

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

Global Moderator


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

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: 1703
Location: Australia

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us