CRTUSRPRF, CHGUSRPRF, and RTVUSRPRF command changes

New MAXSTGLRG parameter allows a larger maximum storage value to be specified and retrieved.

The Create User Profile (CRTUSRPRF) and the Change User Profile (CHGUSRPRF) commands have a new MAXSTGLRG parameter that allows a larger maximum storage value to be specified than the MAXSTG parameter. You can specify a value for either the MAXSTGLRG parameter or the MAXSTG parameter but not for both.

Start of changeIf you are changing the command defaults for maximum allowed storage on the CRTUSRPRF or CHGUSRPRF commands, you must specify a value using the MAXSTGLRG parameter and not the MAXSTG parameter. The Copy option and Change option on the Work with User Profiles (WRKUSRPRF) panel use the MAXSTGLRG parameter when copying or changing a user profile. In order for these WRKUSRPRF options to work correctly, the maximum storage parameter default on the CRTUSRPRF and CHGUSRPRF commands, if changed, must be specified using the MAXSTGLRG parameter rather than changing the default value of the MAXSTG parameter. These commands do not allow both the MAXSTGLRG and MAXSTG parameters to be specified at the same time.End of change

The Retrieve User Profile (RTVUSRPRF) command allows retrieval of the larger storage values using the new MAXSTGLRG and STGUSEDLRG parameters. The current MAXSTG and STGUSED parameters contain valid information until the value exceeds 2,147,483,647. When this value is exceeded, then the returned value is -2 and the new MAXSTGLRG or STGUSEDLRG parameters need to be used to get the actual value.