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
 

 

How to migrate just one generation for a GDG?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Joe_Song
Currently Banned

New User


Joined: 22 Jan 2008
Posts: 53
Location: china

PostPosted: Thu Jul 31, 2008 3:06 pm    Post subject: How to migrate just one generation for a GDG?
Reply with quote

Want to migrate just one GDG generation like (-1) not including the latest generation, so any method to realize?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2008 3:45 pm    Post subject:
Reply with quote

Talk to your storage people to set up a MGMTCLAS for it.

Usually, GDG's are migrated automatically with only the 0 and -1 gens left on DASD - Well, that's the way I do it icon_rolleyes.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 3:52 pm    Post subject:
Reply with quote

Hi,

Search on hmigrate, might help. And check these link-

http://www.ibmmainframes.com/viewtopic.php?t=3694&highlight=hmigrate

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.idak100/hmigr8.htm
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2008 4:03 pm    Post subject: Had to chuckle
Reply with quote

Having read the previous post linked to by Anuj.

Wonder what their storage team will want to do when they grow up icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 4:09 pm    Post subject: Re: Had to chuckle
Reply with quote

expat wrote:
Wonder what their storage team will want to do when they grow up icon_biggrin.gif
And I wonder, why an Application Engineer would need to migrate a DSN, why the storage guys are employed there then.. icon_smile.gif
Back to top
View user's profile Send private message
Joe_Song
Currently Banned

New User


Joined: 22 Jan 2008
Posts: 53
Location: china

PostPosted: Thu Jul 31, 2008 6:09 pm    Post subject: what's MGMTCLAS ?
Reply with quote

what's MGMTCLAS mean? any more detail?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2008 6:39 pm    Post subject: A potted version of SMS MGMTCLAS
Reply with quote

MGMTCLAS is an SMS construct which is used to determine the hierarchical life cycle of the dataset. And in laymans terms, how long it may reside on DASD, ML1, ML2, backup strategy, delete strategy, and a few others too.

Example MGMTCLAS JOESGDGS
Can be setup to keep all GDG generations for 300 days or until they roll off - whichever comes first. They are backed up daily, and during Primary Space Management by HSM all but the 0 generation are migrated directly to HSM ML2. A backup of the GDG generation will be kept for 30 days after the dataset has been deleted.

The ACS routines and SMS constructs are maintained by your storage people.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 10:36 am    Post subject:
Reply with quote

And MGMTCLAS can be omitted if SMS is active if an Automatic Class Selection (ACS) SMS exit is in use at your site.

If you do not specify MGMTCLAS for a new data set and the storage administrator has provided an installation-written automatic class selection (ACS) routine, the ACS routine may select a management classfor the data set. Check with your storage administrator to determine if an ACS routine will select a management class for the new data set, in which case you do not need to specify MGMTCLAS.
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 SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts alphanumeric sequence generation sivaprasad.gadhi COBOL Programming 6 Wed Mar 30, 2016 3:03 am
No new posts alphanumeric sequence generation sivaprasad.gadhi DFSORT/ICETOOL 8 Mon Mar 21, 2016 1:09 am
No new posts Report generation senthamizh DFSORT/ICETOOL 1 Sat Jun 20, 2015 2:01 pm


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