Configuration File
To create the configuration file, perform the following steps:
1. Copy the adapter files using the following commands:
CPYF FROMFILE(QUSRSYS/CFG_ALERT)
TOFILE(QUSRSYS/MYFILE) FROMMBR(*ALL)
TOMBR(*FROMMBR) CRTFILE(*YES)
2. Update the configuration file to show the keywords pointing to the new
objects, as follows:
AdapterCdsFile=/QSYS.LIB/QUSRSYS.LIB/MYFILE.FILE/MYCFG.MBR
Filter=mylib/myfilter
FilterDataQueue=mylib/mydtaqueue
3. Update the CDS and the BAROC files to include any new classes and filters.
4. Update the rules file to include any new rules.
5. On the event server, import the BAROC file into the rule base; then, compile
and load the rule base.
6. Start the adapter using the new adapter files as follows:
STRTECADP EVTADP(MYEVTADP)
CFGFILE(’/QSYS.LIB/QUSRSYS.LIB/MYFILE.FILE/MYCFG.MBR’)
Chapter 2. AS/400 Alert Adapter 37