LANSA for i provides an exit point program which can be registered to MSF for the purpose of tracing mail messages as they are processed by MSF. To register the LANSA Email tracing program perform these steps:
Work with registration information for exit point.
Enter this command:
Choose the option to work with exit programs. If there is already a registered exit point program, it is important that you write down its details. You will need these details when and if you need to restore this exit point program.
Register (add) the LANSA Email tracing program (DCXP8711). This program is installed in your LANSA program library (normally DCXPGMLIB). Use these parameters:
To start tracing you need to restart the MSF job. When you trace messages it is recommended that you start only one MSF job.
To see the contents of the trace file, find the active MSF job and work with its spooled files. Note that the spooled file won't be opened until mail messages are written to the MSF.
When you have finished tracing, remove DCXP8711 from the registered point (restore the previous exit point program if there was one).Note:
Tracing will have a significant impact on the performance of your mail processing jobs. You should disable tracing during normal operations.