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

Rexx to change mgmtclass for multiple files.


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

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Jul 25, 2011 6:26 pm
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
Reply with quote

This is one of closest thread you are looking for....
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: 8797
Location: Welsh Wales

PostPosted: Mon Jul 25, 2011 10:34 pm
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: 126
Location: India

PostPosted: Tue Jul 26, 2011 10:37 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 26, 2011 10:47 am
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 )
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: 126
Location: India

PostPosted: Tue Jul 26, 2011 12:07 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 26, 2011 12:12 pm
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: 8797
Location: Welsh Wales

PostPosted: Tue Jul 26, 2011 3:08 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top