Create a message file

To use a message file for the Standard Time names and Daylight Saving Time names, you need to create a message file that specifies the names to use.

To create a message file, complete the following steps:
  1. Open a character-based interface and connect to iSeries™ A.
  2. Type the following command from a command line and press F4:
    CRTMSGF
  3. Specify MYTZMSG for the name of the message file.
  4. Specify MYLIB for the name of the library to store the message file, or specify the name of an existing library.
  5. Press Enter.
  6. Complete the following steps to specify the Standard Time names in the message file:
    1. Type the following command and press F4:
      ADDMSGD
    2. Specify MSG1001 for the message identifier.
    3. Specify MYTZMSG for the message file.
    4. Specify MYLIB for the library.
    5. Specify first-level text that is enclosed in single quotation marks. You can specify text in between the single quotation marks or leave it blank. The single quotation marks are required.
    6. Specify 'MCST       MyCompany Standard Time' for the second-level text message, including the single quotation marks. The first 10 characters are used for the abbreviated name and the next 50 characters are used for the full name.
    7. Press Enter to create the message description.
  7. Complete the following steps to specify the Daylight Saving Time names in the message file:
    1. Type the following command and press F4:
      ADDMSGD
    2. Specify MSG1002 for the message identifier.
    3. Specify MYTZMSG for the message file.
    4. Specify MYLIB for the library.
    5. Specify first-level text that is enclosed in single quotation marks. You can specify text in between the single quotation marks or leave it blank. The single quotation marks are required.
    6. Specify 'MCDST       MyCompany Daylight Saving Time' for the second-level text message, including the single quotation marks. The first 10 characters are used for the abbreviated name and the next 50 characters are used for the full name.
    7. Press Enter to create the message description.

The MYTZMSG message file and two messages now exist in the MYLIB library. Now, you need to create a new time zone and specify this message file for the Standard Time names and the Daylight Saving Time names. To do this, continue to Create a new time zone that specifies the message file to use.