Before you begin:
- Determine if the dynamic class that you want to change to GENERIC(DISALLOWED)
shares a POSIT value with other classes. If so, determine if the other
classes sharing the POSIT value also have GENERIC(DISALLOWED). (See Rules about disallowing generics when sharing a POSIT value.)
- Do not perform these steps if other classes sharing the POSIT
value have GENERIC(ALLOWED) and you do not want to change those
classes. Instead, first change this class to a unique POSIT value
or to a POSIT value shared with classes that have GENERIC(DISALLOWED).
Perform the following steps to change an existing dynamic class
called HORSES8 from GENERIC(ALLOWED) to GENERIC(DISALLOWED).
- Delete all generic profiles in the HORSES8 class.
To do this:
- Execute the SEARCH command to create a CLIST containing a command
to delete each generic profile in the class.
SEARCH CLASS(HORSES8) GENERIC CLIST('RDELETE HORSES8 ')
- Execute the CLIST.
EXEC EXEC.RACF.CLIST LIST
- Verify that no generic profiles remain in the class.
SEARCH CLASS(HORSES8) GENERIC
______________________________________________________________________
- If the class shares a POSIT value, repeat Step 1 for each class sharing the POSIT value.
______________________________________________________________________
- Deactivate generic processing for the HORSES8 class.
SETROPTS NOGENERIC(HORSES8) NOGENCMD(HORSES8)
If
your class shares a POSIT value with other active classes, this command
deactivates generic processing for those classes as well.______________________________________________________________________
- Alter the HORSES8 class to prevent generic profiles.
RALTER CDT HORSES8 CDTINFO(GENERIC(DISALLOWED))
______________________________________________________________________
- If the class shares a POSIT value, repeat Step 4 for each class sharing the POSIT value.
______________________________________________________________________
- Refresh the in-storage profiles for the CDT class.
SETROPTS RACLIST(CDT) REFRESH
______________________________________________________________________
When you finish, you have changed an existing dynamic class,
and all classes sharing its POSIT value, from GENERIC(ALLOWED) to
GENERIC(DISALLOWED). You have also deleted all generic profiles from
all classes sharing the POSIT value.