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 < input4This generates the C source program
kcxmsgs.c.Compile the program
kcxmsgs.cwith the C compiler:cc -c <flags> –Iutmpath/include kcxmsgs.cThis generates the object
kcxmsgs.o.Use
kcxmsgs.oto generate a shared object:
cc <flags> -o libxmsgs.so kcxmsgs.o
This generates the shared objectlibxmsgs.so.Store the shared object
libxmsgs.soin 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 < input4This generates the C source program
kcxmsgs.c.Translate the program
kcxmsgs.cwith the C compiler.cl -c /Iutmpath\include kcxmsgs.cThis generates the object
kcxmsgs.obj.Use
kcxmsgs.objto 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.