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

How to migrate just one generation for a GDG?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Jul 31, 2008 3:45 pm
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

Superior Member


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

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

Hi,

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

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

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: 8797
Location: Welsh Wales

PostPosted: Thu Jul 31, 2008 4:03 pm
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

Superior Member


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

PostPosted: Thu Jul 31, 2008 4:09 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Jul 31, 2008 6:39 pm
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

Superior Member


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

PostPosted: Fri Aug 01, 2008 10:36 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts Started task using a generation dataset JCL & VSAM 7
No new posts Report generation JCL & VSAM 18
No new posts How can I get Generation Nbr of GDG f... IBM Tools 1
No new posts Sequence number generation for multip... DFSORT/ICETOOL 2
Search our Forums:

Back to Top