!--a11y-->
Customizing Switches for Generated
Passwords 
So that passwords that correspond to your password rules can be generated in user maintenance (SU01 and SU10), you must set the Customizing switches described below in table PRGN_CUST. These switches correspond to the specified system profile parameters for passwords..
Customizing Switches and Corresponding System Profile Parameters
Customizing Switch |
System Profile Parameter |
Comment |
GEN_PSW_MAX_LETTERS |
login/min_password_letters |
Maximum number of digits in the generated password |
GEN_PSW_MAX_DIGITS |
login/min_password_digits |
Maximum number of letters in the generated password |
GEN_PSW_MAX_SPECIALS |
login/min_password_specials |
Maximum number of special characters in the generated password |
If you do not maintain these parameters, the default value 8 is used.
The values of the system profile parameters have precedence over the Customizing switch values. If the entries are contradictory, the values of the Customizing switches (GEN_PSW_MAX_*) are ignored and the default values are used.

If you set the system profile parameter login/min_password_specials = 2 and the Customizing switch GEN_PSW_MAX_SPECIALS = 0, the password generator generates invalid passwords. In this case, the default value 8 is used instead of the maintained value for GEN_PSW_MAX_SPECIALS.