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
 
Regarding GDG version Increments

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
sravanv

New User


Joined: 02 Aug 2005
Posts: 13
Location: hyderabad

PostPosted: Tue Aug 23, 2005 5:16 pm    Post subject: Regarding GDG version Increments
Reply with quote

Hello Friends,
I want to increment the existing generation version, How can i do that ?
I have tried several ways as keeping the existing generation(0) with disp=mod, disp=old, but the records were added/replaced with both these conditions, but the version is not incremented.

Suppose my Generation is sravan.gooovoo, i have created it and updated with some records.Now i want the new version of the same generation as sravan.gooov01.How can i get that through JCl?

Can anyone say how can i increment it?
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Tue Aug 23, 2005 6:04 pm    Post subject: Re: Regarding GDG version Increments
Reply with quote

You have a couple of different choices:

Code:

//STEP0001 EXEC PGM=IEBGENER                                       
//SYSUT1   DD   DISP=SHR,DSN=SRAVAN.G0001V00               
//SYSUT2   DD   DSN=SRAVAN.G0001V01,
//         DISP=(,CATLG,DELETE),UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE)   
//SYSPRINT DD   SYSOUT=*                                           
//SYSIN    DD   DUMMY                                               
//*       


Code:
                                                         
//STEP0001 EXEC PGM=IDCAMS                                         
//SYSPRINT DD   SYSOUT=*                                           
//SYSIN    DD   *                                                   
   ALTER 'SRAVAN.G0001V00' NEWNAME('SRAVAN.G0001V01')
/*     


Code:
     
//STEP0001 EXEC PGM=IKJEFT01                                       
//SYSTSPRT DD   SYSOUT=*                                           
//SYSTSIN  DD   *                                                   
RENAME 'SRAVAN.G0001V00' 'SRAVAN.G0001V01'
/*                                                                 
//*                                                                 
Back to top
View user's profile Send private message
anuradha

Global Moderator


Joined: 06 Jan 2004
Posts: 257

PostPosted: Tue Aug 23, 2005 6:06 pm    Post subject:
Reply with quote

Hi Sravan!

Please refer the following link:

http://ibmmainframes.com/viewtopic.php?t=209&highlight=
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Tue Aug 23, 2005 6:57 pm    Post subject:
Reply with quote

or u can copy the existing version using IEBGENER to ..sravan(+1)
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 154

PostPosted: Tue Aug 23, 2005 8:33 pm    Post subject:
Reply with quote

shivashunmugam,
Quote:
or u can copy the existing version using IEBGENER to ..sravan(+1)


If you mention it like above it would increase the Generation and not the Version number. For creating a GDG with G0001V01, must specify like what SUPERK has .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1