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

Rexx program to change the MGMTCLAS of existing datasets


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suma_mada

New User


Joined: 29 Aug 2005
Posts: 1
Location: india

PostPosted: Wed Sep 19, 2007 3:34 pm
Reply with quote

I have more than 100 datasets (PDS or PS) with MGMTCLAS as TEST1M. How do i change the MGMGTCLAS to TESTWRK of all the datasets?
Back to top
View user's profile Send private message
Alan Voss

New User


Joined: 29 Nov 2006
Posts: 32
Location: Jacksonville, FL

PostPosted: Wed Sep 19, 2007 6:41 pm
Reply with quote

Try this

Code:

/*REXX */                             
ARG   DSN                             
"ALTER "DSN" MANAGEMENTCLASS(TESTWRK)"
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Sep 19, 2007 9:53 pm
Reply with quote

Assuming that you have the RACF (or other security product) authority to do this.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
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 isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top