Brian,

You should be able to prevent renaming in the ACS STORCLAS routine, by
testing the &ACSENVIR variable.  If you had a FILTLIST with all the SYSPROG
ID's specified, you could code something like: 

WHEN (&ACSENVIR = 'RENAME' AND &USER <> &SYSPROG) THEN DO
  WRITE 'RENAMING DATA SETS IS NOT ALLOWED'
  EXIT CODE(12)
  END

You might want to test for other values (like data set name, or owner)
before failing the allocation, but there are some variables not available
when ACSENVIR is RENAME: 

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2s241/16.3.1.8
?SHELF=EZ2ZO10F&DT=20060105144207

HTH,
Greg Shirey
Ben E. Keith Company 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Behalf Of Perryman, Brian
Sent: Wednesday, June 07, 2006 8:18 AM

Thanks all, for the answers and suggestions.


########################################################################
 Notice.....Notice :    Ben E. Keith has changed our email address from
 bekco.com to benekeith.com. The user-id to the left of the "@" has not
 changed. Please change your contact info to this new email address.
########################################################################

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to