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 U messages

&pagelevel(5)&pagelevel

You want to change the message text for the message U118 and otherwise use the unchanged messages with standard English texts.

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

OPTION MSGFILE= utmpath/msgdescription

GEN XPROG,LANG=GB,MODULE=myumsgse

MODMSG 118,

MSGID, ' Connection to sample application closed: END key'

ENDMSG

END

Then carry out the steps described below.

Unix and Linux systems

  1. Call up the KDCMMOD tool:

    utmpath/ex/kdcmmod < input3

    This generates the NLS source file XPROG_GB.mod.

  2. Enter the following gencat command:

    gencat nls/msg/En/utmxprog.cat XPROG_GB.mod

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

  3. Store this NLS catalog in the file 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 XPROG_GB.MAK from %UTMPATH%\nls to %FILEBASE%\nls

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

    utmpath\ex\kdcmmod.exe < input3

    This generates the file XPROG_GB.mod.

  5. Call up the KDCWMSG tool:

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

    This generates the file XPROG_GB.mc.

  6. Call up the following Visual Studio tools:

    1. mc -r . XPROG_GB.mc

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

    2. nmake /f XPROG_GB.MAK

      This generates the file XPROG_GB.dll.

  7. Copy XPROG_GB.dll to %FILEBASE%\nls\msg\En\utmxprog.dll.

    The changed message catalog is ready for use.