Displaying a log of the message send attempts
To display a log of network messages that the server attempted to send, you can use the IBM® i NetServer maintenance program.
The log contains a maximum of the last 500 messages by default. These messages are deleted when the log is dumped. You can only see the network messages logged since the last time that they were dumped.
To call the maintenance utility, use the following command:
CALL PGM(QZLSMAINT) PARM('32')
The log is dumped into a spooled file in the QSECOFR output queue. Use the Work with Spooled Files (WRKSPLF QSECOFR) command to display the queue.
Example: Spooled file dump of logged messages
TIME NAME IP-ADDR TYPE RC MESSAGE
1/23/02 17:39:55 SMBTEST1 C0050939 2 0 CPIB68B: THE PROFILE FOR USER
SMBTEST1 IS DISABLED.
1/23/02 17:40:16 JOE1 C005095D 7 0 CPIB690: PASSWORD FOR USER JOE1
WILL EXPIRE IN 3 DAY(S).
Note: If the RC column is not 0, then there was either an error
delivering the message to the user or the client's message handling service
reported an error condition.