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
 

 

Rexx to change mgmtclass for multiple files.

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

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Mon Jul 25, 2011 6:26 pm    Post subject: Rexx to change mgmtclass for multiple files.
Reply with quote

Hi

I need to chnage mgmtclass of a large number of files where starting qulifiers are same.

Files are.
'ABC.XYZ.FILE.A*'

ABC.XYZ.FILE.A0001
ABC.XYZ.FILE.A0002
.
.
.
ABC.XYZ.FILE.A2000

Could you please suggest howto do it by rexx.

Thanks
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Jul 25, 2011 6:41 pm    Post subject:
Reply with quote

This is one of closest thread you are looking for....
http://ibmmainframes.com/viewtopic.php?t=24609&highlight=mgmtclass
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: Mon Jul 25, 2011 10:34 pm    Post subject:
Reply with quote

However, you may not have the required access to do this.

Any changes should be discussed with your storage management people before even attempting this.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Tue Jul 26, 2011 10:37 am    Post subject:
Reply with quote

Hi

I have access to do it , as its a live support work.
But as lot of files hence its a tough to do manually.

Is there any way to process files name with wild cards in rexx?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Jul 26, 2011 10:47 am    Post subject: Reply to: Rexx to change mgmtclass for multiple files.
Reply with quote

since You seem to know little about REXX, why not simply ask how to do it ???

anyway no need for REXX, nor in house programming/scripting

use ISMF to create a customized/filtered dataset list

after that ...
see the ISMF model command generation facility ( here for example )
http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.idas200/modl.htm

and it happens that the manual example tells just what You are asking for icon_cool.gif
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Tue Jul 26, 2011 12:07 pm    Post subject:
Reply with quote

Hi

Just saw the documention is very nice, but unfortunately i don't have access to ISMF.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Tue Jul 26, 2011 12:12 pm    Post subject: Reply to: Rexx to change mgmtclass for multiple files.
Reply with quote

well... if You have the authority to change the managemnt class,
it is odd that You do not have access to ISMF

talk to Your support in order to have ISMF included in Your ISPF options

no reason for us to waste time because of Your organization bad setup icon_cool.gif
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: Tue Jul 26, 2011 3:08 pm    Post subject:
Reply with quote

Also, I can't recall if the IDCAMS changes will reflect in migrated datasets, as I do recall running loads and loads of HSM FIXCDS commands to cater for migrated datasets.

I suppose you change the ACS routines to deal with this at recall time, but if the changes affect the longevity of the data, it would be a very good idea to check out wether the changes do affect the HSM CDS dataset contents.
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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