SETCSTDTA (Set Customization Data)

SETCSTDTA Command syntax diagram

 

Purpose

The Set Customization Data (SETCSTDTA) command can be used to copy and delete information in order to customize OS/400 Graphical Operations support. For example, work area contents and mouse double-click actions can be customized and copied.

By using this command, administrators do not need to manually set up each OS/400 GraphicOps user. The administrators can set up users by modeling one user and patterning all subsequent users after the model user. The administrators can also reset user customization so they can restart the customization process if needed.

 

Required Parameters

USRPRF
Specifies the user profile to receive the customization data.

user-profile-name: Specify the names of the user profiles to reset or to which to copy. A maximum of 300 user profile names can be specified.

VALUE
Specifies the value to which the customization information is set.

*NONE: The customization data for the user profile name is removed.

user-profile-name: Specify the name of the user profile from which to copy customization information.

 

Optional Parameters

REPLACE
Specifies whether to replace customization data for the user profile name specified on the USRPRF parameter.

*NO: The customization data is not replaced. An exception message is issued.

*YES: The customization data for the user profile name is replaced.

Examples for SETCSTDTA

Example 1: Copying Customization Data to a User Profile

SETCSTDTA   USRPRF(TOM)  VALUE(TIM)

This command copies OS/400 GraphicOps customization data associated with the user profile name TIM to the new user profile name TOM.

Example 2: Replacing Customization Data

SETCSTDTA   USRPRF(TOM)  VALUE(MODEL1)  REPLACE(*YES)

This command copies OS/400 GraphicOps customization data associated with the model user profile name MODEL1 to the user profile name TOM and replaces any customization data associated with the user profile name TOM.

Example 3: Removing Customization Data

SETCSTDTA  USRPRF(TOM) VALUE(*NONE)

This command removes all OS/400 GraphicOps customization data associated with user profile name TOM.

Error messages for SETCSTDTA

*ESCAPE Messages

CPF2204
User profile &1 not found.
CPF2217
Not authorized to user profile &1.
GUI0085
&1 does not have customization data.
GUI0087
Some user profiles did not have customization data copied successfully.
GUI0091
Some user profiles did not have customization data deleted successfully.
GUI0117
&1 is not valid for subset key.