View previous topic :: View next topic
|
Author |
Message |
sanjit mishra
New User
Joined: 13 Jun 2009 Posts: 5 Location: India
|
|
|
|
Hi,
My requirement is to automate the process of changing the management class (making it TPS370) of all the PS and PDS created under my RACF id. I would like to know is there any in-built function in Rexx to parse all the PS/PDS prefixed with my RACF one by one and change its MGMTCLAS to TPS370.
Please advise the approach using Rexx that I need to follow here.
Thanks and Regards,
Sanjit Mishra |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
sanjit mishra
New User
Joined: 13 Jun 2009 Posts: 5 Location: India
|
|
|
|
I was looking for some in-built Rexx function, if any, to realize the above requirement. I had intially posted it in rexx forum wherein i was advised to get in touch with sms forum.
Thanks and Regards,
Sanjit |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
is the process to be run one time only, or is it going to be a repetitive one...
just curious, why the storage support is not taking care of it ??
after all it' s their job to do it
for a once in a while approach,
use ispf 3.4 and save the dataset list
a simple edit to get rid of the unwanted datasets
exc all;f PS word all; f PO word all;del x all
will leave You with PS and pds only
to get rid of the unwnted colum data
c p'^' ' ' col1 col2 all
You will be left with the dsname only
insert a line with the IDCAMS alter statement with 44 blanks in the dsname space
use the line command C with the OVERLAY option to build the alter command for the whole list
now You have simply to add the JCL statement for IDCAMS...
IIRC You cannot run it while Your ispd session is active
( ENQ' s on the allocated dateset )
submit the job in an hold class, have operations release it
be sure that the acs routines have been modified to assignthe proper management class
in the future |
|
Back to top |
|
|
sanjit mishra
New User
Joined: 13 Jun 2009 Posts: 5 Location: India
|
|
|
|
Thanks for the suggestion. It's going to be repititive activity, say once in a month's time, to override the default MGMTCLAS of test PS file from TPS035 to TPS370.
Also a couple of quick questions:
--Is it going to work for the migrated files and libraries (both migrat1 and migrat2)
--What exactly is an "acs routine" and please advise how can we modify MGMTCLAS using acs routine.
Thanks and Regards,
Sanjit |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
dont' t You have a storage support group in Your organization
the approach is very poor... and also the standards
why not allocate with proper class to start with ?
ACS routines are the user written part of SMS that analyzing the dataset name
will set/assign the proper classes
storage support should be doing it
the analysis and the proper setup... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
storage support should be doing it
storage support should be doing it
storage support should be doing it
Or is this perhaps a case of ..... this MGMTCLAS doesn't get migrated, so I will not have to wait for recalls on MY datasets, and with no regard to the DASD that I will keep allocated but unused just so long as MY datasets are OK.
It seems that your storage group are just a little lapse / lazy / incompetant in the implementation of SMS if people can just change MGMTCLAS at will.
So to reiterate Enricos sound advice .....
storage support should be doing it
storage support should be doing it
storage support should be doing it |
|
Back to top |
|
|
|