Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 & VSAM
View previous topic :: :: View next topic  
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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, 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

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

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: 156

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
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 Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 15 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us