Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 125
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: 125
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: 10309
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: 125
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: 10309
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us