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

&pagelevel(5)&pagelevel

You want to activate the message destination SYSLOG for the message U315.

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

OPTION MSGFILE= utmpath/msgdescription, ENTRY=KCXMSGS
GEN XPROG,LANG=GB,MODULE=kcxmsgs
MODMSG  315,
SYSLOG  = YES,
COMPRESSION = YES
ENDMSG
END

Then carry out the steps described below.

Unix and Linux systems

  1. Call up the KDCMMOD tool:

    utmpath/ex/kdcmmod < input4

    This generates the C source program kcxmsgs.c.

  2. Compile the program kcxmsgs.c with the C compiler:

    cc -c <flags> –Iutmpath/include kcxmsgs.c

    This generates the object kcxmsgs.o.

  3. Use

    kcxmsgs.o to generate a shared object:
    cc <flags> -o libxmsgs.so kcxmsgs.o
    This generates the shared object libxmsgs.so.

  4. Store the shared object libxmsgs.so in the directory filebase.

    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. Call up the KDCMMOD tool:

    utmpath\ex\kdcmmod.exe < input4

    This generates the C source program kcxmsgs.c.

  3. Translate the program kcxmsgs.c with the C compiler.

    cl -c /Iutmpath\include kcxmsgs.c

    This generates the object kcxmsgs.obj.

  4. Use kcxmsgs.obj to generate a DLL:

    link kcxmsgs.obj /dll /def:"libxmsgs.def" /out:"libxmsgs.dll"

    This generates the object libxmsgs.dll.

  5. Store this DLL in the directory filebase.

    The changed message catalog is ready for use.