Installation : Testing the Adapter

Testing the Adapter
Sample configuration files for FilePublisher and FileSubscriber and sample data files for testing the installation of the Adapter are provided in the Adapter software package. This section explains how to the test the Adapter using these sample configuration files after you have installed adapter software:
Starting the Adapter
Follow the instructions in JCL(@README) to run the samples.
If you have opted in the configuration files for standard output of trace messages, you can monitor the jobs and also check the SYSPRINT log.
Checking for Heartbeat Messages
If the Adapter components are successfully installed and started as described under Starting the Adapter, they are not configured to publish heartbeat messages. To publish heartbeat messages, un-comment the parameters PUBLISH_HEARTBEAT and HEARTBEAT_TIME by removing # characters before the keyword. If you have not changed the Adapter name in the configuration files yet, you can listen to the following heartbeat messages:
From the FilePublisher: _FILEADAPTER.TEST_FILE_PUB_xxx.HEARTBEAT
from the FileSubscriber: _FILEADAPTER.TEST_FILE_SUB_xxx.HEARTBEAT
Stopping the Adapter
To stop the FilePublisher and FileSubscriber follow instructions in JCL(@README).
Checking the Trace Logs
Both FilePublisher and FileSubscriber create trace logs in the data sets specified in their respective configuration files depending on the chosen trace level. You can browse these trace logs for any error, warning, or trace messages.
Examples of trace logs from a successful session and a failed session are shown in Appendix B, Trace Log Examples.