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:
|
Then carry out the steps described below.
Unix and Linux systems
Call up the KDCMMOD tool:
utmpath
/ex/kdcmmod < input4
This generates the C source program
kcxmsgs.c
.Compile the program
kcxmsgs.c
with the C compiler:
cc -c <flags> –I
utmpath/include kcxmsgs.c
This generates the object
kcxmsgs.o
.Use
kcxmsgs.o
to generate a shared object:
cc <flags> -o libxmsgs.so kcxmsgs.o
This generates the shared objectlibxmsgs.so
.Store the shared object
libxmsgs.so
in the directory filebase.The changed message catalog is ready for use.
Windows systems
Set the Visual Studio environment:
CALL "
Visual_Studio_path\VC\bin\vcvars32.bat"
Call up the KDCMMOD tool:
utmpath
\ex\kdcmmod.exe < input4
This generates the C source program
kcxmsgs.c
.Translate the program
kcxmsgs.c
with the C compiler.
cl -c /I
utmpath\include kcxmsgs.c
This generates the object
kcxmsgs.obj
.Use
kcxmsgs.obj
to generate a DLL:link kcxmsgs.obj /dll /def:"libxmsgs.def" /out:"libxmsgs.dll"
This generates the object
libxmsgs.dll
.Store this DLL in the directory filebase.
The changed message catalog is ready for use.