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 chage MGMTCLAS of a dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: how to chage MGMTCLAS of a dataset?
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: 1439
Location: Bangalore,India

PostPosted: Tue Jul 22, 2008 10:59 am    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Jul 22, 2008 11:10 am    Post subject:
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

Senior Member


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

PostPosted: Tue Jul 22, 2008 11:13 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 22, 2008 1:56 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Jul 22, 2008 2:01 pm    Post subject:
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    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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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