Example for outputting the last two ADM traps in detailed format:
$ftshwatp -nb=2 -l
TRAP-ID = 52 TYPE = RQ-LIM-HIGH TIME = 2016-12-02 10:36:56
SOURCE = fileserv PARTNER = PTN-STATE = TRANS-ID = RC = INITIATOR = FILENAME = ERROR-MSG = TRAP-ID = 51 TYPE = TRANS-FAIL TIME = 2016-12-02 10:36:48 SOURCE = FTSERV01 PARTNER = PARTLINU PTN-STATE = TRANS-ID = 11 RC = 2169 INITIATOR = user FILENAME = order.txt ERROR-MSG = Request 11. Remote System: Transfer admission invalid
Explanation
TRAP-ID
Number of the ADM trap in the ADM trap log file, up to 18 digits.
TYPE
Trap type.
The possible values are the same as for the short output format, see the description in section “Short output format of an ADM trap”.
TIME
Date and time at which the trap occurred.
SOURCE
Name of the partner on which the trap occurred.
TRANS-ID
Transfer ID of the transfer that triggered the trap.
RC
Reason code of the transfer that triggered the trap.
INITIATOR
User ID or location of the transfer that triggered the trap.
PARTNER
Partner name of the transfer or partner that triggered the trap.
PTN-STATE
Partner state of the partner that triggered the trap.
FILENAME
Filename of the transfer that triggered the trap.
ERROR-MSG
Message text of the transfer that triggered the trap.