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

how to chage MGMTCLAS of a dataset?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
COUNT

New User


Joined: 15 Jan 2008
Posts: 6
Location: kolkata

PostPosted: Tue Jul 22, 2008 10:54 am
Reply with quote

hi !
can anyone suggest me how to chage the MTMTCLAS of a dataset?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Jul 22, 2008 10:59 am
Reply with quote

Pritesh,

Speak with your storage team.
Back to top
View user's profile Send private message
COUNT

New User


Joined: 15 Jan 2008
Posts: 6
Location: kolkata

PostPosted: Tue Jul 22, 2008 11:03 am
Reply with quote

I think there is a command as 'ALter \ mgmtclas(dataset)' but i am not able to use it. can any one suggest me how to use this command?

murmohk1 wrote:
Pritesh,

Speak with your storage team.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue Jul 22, 2008 11:10 am
Reply with quote

Hi,

Assuming that you have the RACF (or other security product) authority to do this, something like below should work -
Code:
  /*REXX */                             
ARG   DSN                             
"ALTER "DSN" MANAGEMENTCLASS(NEWMGMT)"               


The management class name must be one of those predefined by the storage administrator at your site.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue Jul 22, 2008 11:13 am
Reply with quote

COUNT wrote:
I think there is a command as 'ALter \ mgmtclas

IDCAMS ALTER ?
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Tue Jul 22, 2008 12:47 pm
Reply with quote

COUNT wrote:
I think there is a command as 'ALter \ mgmtclas(dataset)'


I'm not sure if it's site specific... as a line command...
ALTER / MGMTCLAS(NEWMCLAS)

but
ALTER 'DATASET.NAME' MGMTCLAS(NEWMCLAS)
works icon_neutral.gif
Back to top
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 22, 2008 1:56 pm
Reply with quote

As a storage person I would recommend that you first have a word with your friendly, sociable and helpful storage team before doing this.

1) MGMTCLAS definitions are set up for a purpose, and if you wish to deviate from that purpose / standard it is advisable to refer the matter to the storage team, as many like myself will merely delete a users dataset where the user has deemed to change the MGMTCLAS without informing me. See below.

2) Changes via IDCAMS to the MGMTCLAS may cause errors / problems in HSM housekeeping which will need to be investigated and corrected by the storage team, who tend to get a little upset at doing this because someone has deemed to change the MGMTCLAS on a whim.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jul 22, 2008 2:01 pm
Reply with quote

Od311 -

When issuing a command from 3.4, the "/" sign stands for the dataset name.

O.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top