For IBM i OS operating system

Creating a user profile

To create a user profile on your IBM i system perform the following steps in an IBM i command-line window.

Procedure

  1. Type the command CRTUSRPRF and press F4 for a prompt.
  2. Complete the necessary parameters, ensuring that USRCLS is set to *SECOFR and SPCAUT is set to *USRCLS for this profile. Press Enter to create the user profile.
    Create the IBM i user profile with the following localized settings:
    Localized settings for System i user profiles
    Language CCSID LangID CountryID
    English 37 ENU US
    French 297 FRA FR
    German 273 DEU DE
    Italian 280 ITA IT
    Spanish 284 ESP ES
    Brazilian Portuguese 37 PTB BR
    Japanese 5035 JPN JP
    Korean 933 KOR KR
    Traditional Chinese 937 CHT TW
    Simplified Chinese 935 CHS CN
    Romanian 870 ROM RO
    Russian 1025 RUS RU
    Polish 870 PLK PL
  3. Use the DSPUSRPRF command to determine the name of your home directory, HOMEDIR. Your HOMEDIR is the file path home/user_profile where user_profile is your user profile on the system. Ensure that the HOMEDIR directory exists on your IBM i system. If the HOMEDIR directory does not exist, create it using the command MKDIR.
    The HOMEDIR must contain a file named SystemDefault.properties, with a coded character set ID of 819 and containing ASCII data. This file must specify the file.encoding property that matches your IBM i user profile. The file.encoding property is case-sensitive, must be specified on one line, and contains no spaces. The file.encoding property can be one of the following values:
    • Simplified Chinese: file.encoding=Cp1381
    • Korean: file.encoding=KSC5601
    • Traditional Chinese: file.encoding=Cp950
    • Japanese: file.encoding=SJIS
    • All other languages: file.encoding=ISO8859_1
    Create the SystemDefault.properties file.
    1. On a PC, using a text editor, create a file named SYSDFT.FILE
    2. In this file, enter the appropriate file.encoding line for your language. For example: file.encoding=ISO8859_1
    3. Save this file and copy it to your IBM i system in the /QIBM directory.
    4. From an IBM i command line, type:
      COPY OBJ('/QIBM/SYSDFT.FILE')
           TOOBJ('/home_directory/SystemDefault.properties')
           TOCCSID(819) 
      where home_directory is the HOMEDIR.
    5. Ensure that the newly created file contains the correct ASCII data.