Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Changing message texts for K messages

&pagelevel(5)&pagelevel

You want to change the message text for the message K008, otherwise the unchanged messages with standard English texts will be used.

To do this, first create an input file (in the example input1) with the following KDCMMOD control statements:

OPTION MSGFILE= utmpath/msgdescription
GEN SYS,LANG=GB,MODULE=mymsgse

MODMSG 008,

'Hello ',&USER,', What do you want?'

ENDMSG

END

Then carry out the steps described below.

Unix and Linux systems

  1. Call up the KDCMMOD tool:

    utmpath/ex/kdcmmod < input1

    This generates the NLS source file SYS_GB.mod.

  2. Enter the following gencat command:

    gencat nls/msg/En/utmsys.cat SYS_GB.mod

    This generates the NLS message catalog nls/msg/En/utmsys.cat.

  3. Store this NLS catalog in the directory filebase/nls/msg/lang.

    The changed message catalog is ready for use.

Windows systems

  1. Set the Visual Studio environment:

    CALL "Visual_Studio_path\VC\bin\vcvars32.bat"

  2. Create the directory %FILEBASE%\nls\msg\En.

  3. Copy the file SYS_GB.MAK from %UTMPATH%\nls to %FILEBASE%\nls

  4. Switch to %FILEBASE%\nls and call up the KDCMMOD tool:

    utmpath\ex\kdcmmod.exe < input1

    This generates the file SYS_GB.mod.

  5. Call up the KDCWMSG tool:

    utmpath\ex\kdcwmsg.exe SYS_GB < SYS_GB.mod > SYS_GB.mc

    This generates the file SYS_GB.mc.

  6. Call up the following Visual Studio tools:

    1. mc -r . SYS_GB.mc

      This generates the files SYS_GB.rc, SYS_GB.h and SYS_GB.bin.

    2. nmake /f SYS_GB.MAK

      This generates the file SYS_GB.dll.

  7. Copy SYS_GB.dll to %FILEBASE%\nls\msg\En\utmsys.dll.

    The changed message catalog is ready for use.