z/OS Security Server RACF Security Administrator's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing attributes of an existing custom field

z/OS Security Server RACF Security Administrator's Guide
SA23-2289-00

Rule: Avoid using the RALTER command with the NOCFDEF option to change an existing custom field.

When you define a custom field with the RDEFINE CFIELD command, some custom field attributes are assigned default values. You can change most attributes in the definition of a custom field using the RALTER CFIELD command with the CFDEF operand. However, if you use the RALTER command, default attributes are not assigned or changed. Therefore, you might change an attribute to a value that is incompatible with the data type. Certain attributes are interrelated so if you use the RALTER command, make changes carefully.

When you make a change to a custom field definition (whether you use RALTER or you delete it using RDELETE and redefine it using RDEFINE), any CSDATA values that you have already added for the custom field are not changed. For example, if you use the HOMEADDR keyword of the ALTUSER command to add a 50-character HOMEADDR value to the profiles of five users, and you subsequently reduce the maximum length of the HOMEADDR custom field to 20 characters, the HOMEADDR values for those five users are not changed. In this case, those five users will have 50-character HOMEADDR values even though the maximum length for the custom field is now defined as 20 characters.

Guideline: Consider using the RACF® ISPF panels to modify CFDEF segment values in CFIELD class profiles. The ISPF panels will display the current values in a CFDEF segment and allow you to update them using a simple user interface.

After you change a custom field definition, you must activate your change by having your system programmer execute the IRRDPI00 UPDATE command to rebuild the dynamic parse tables on all systems that will use the changed custom field.

Restrictions: You cannot change certain attributes of a custom field.
  • You cannot change the TYPE attribute using the RALTER command. If you need to change the TYPE, see When you need to change the data type for instructions about redefining a custom field.
  • You can update but you cannot remove the MAXLENGTH value. (See When you need to change the MAXLENGTH of a numeric field.)
  • You can update but you cannot remove the LISTHEAD value.
  • You can update but you cannot remove the HELP value.
  • You can update but you cannot remove the FIRST value.
  • You can update but you cannot remove the OTHER value.
  • You can update but you cannot remove the MIXED value.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014