Troubleshooting the AS/400 Adapter
If a problem occurs with the AS/400 adapter, you can perform problem
determination by investigating the job the adapter is running in. Each time you
start an AS/400 adapter, a batch job is started. You can view the adapter job by
issuing the following command:
WRKJOB JOB(name)
Where name is the name of the adapter job that matches the name specified on the
STRTECADP command. This displays the Work with Job dialog.
Note: Several adapter jobs might have existed on your AS/400 with the same
name as the current adapter job. In this case, you are first presented with a
list of jobs to choose from. Select the most recent job from the list.
From the Work with Job dialog, you can select option 10 to display the job log, or
if the job has ended (selecting option 10 tells you so), you can view the job log that
was generated by selecting option 4.
Examine the job log for messages indicating the error that occurred and follow the
corrective action specified. For further assistance, contact Customer Support.
Logging Events in Test Mode
The file to which events are logged in test mode (instead of being sent to an event
server) is created with a record length of 240 bytes if it does not exist. Because an
event written to this file does not wrap to a new line if it is longer than 240 bytes,
it is truncated. To avoid truncation, create the file ahead of time using the CRTPF
or CRTSRCPF commands and specify a large enough record length to
accommodate your events. To utilize this file, ensure it is specified for the
ServerLocation keyword. For additional information, see the ServerLocation and
TestMode keywords on pages 13 and 14, respectively.
Also, be sure that you use the proper format, ABCLIB/TECMSGS
(Library/Filename). If the file does not exist, it is created automatically.
TCP/IP Considerations
Ensure that the event server and the AS/400 system are configured in your
network Name Server, and that the AS/400 system is configured to resolve to the
Name Server.
If you do not use a Name Server in your network, make sure that an entry exists
on the AS/400 system in the TCP/IP host table for both the event server and the
AS/400 system. Use the following commands to do this:
ADDTCPHTE INTNETADR(event server protocol address)
HOSTNAME((event server host name))
TEXT(’Tivoli Enterprise Console event server’)
ADDTCPHTE INTNETADR(AS/400 protocol address)
HOSTNAME((AS/400 host name)) TEXT(‘AS/400’)
Chapter 3. AS/400 Message Adapter 51