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: 10256
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: 10256
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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