The command SHOW-FILE-TRANSFER can be used to establish the status of file transfer requests that are not yet complete. On completion of a transfer, the result is stored in a logging record.
It is also possible to use the TRANSFER-FILE command to request that a result message be generated. There are three ways of generating such a message:
allow the result message to be created by the system
have a user-generated result message output as follow-up processing
use a job variable to monitor the FT request (not for requests with FTAM partners)
A system-generated message can only be requested in the local system. This is achieved using the LISTING operand which enables you for example to order a result list in all cases (LISTING=*PARAMETER(CONDITION=ANY)), or to order a result list only when the file transfer is aborted due to an error (LISTING=*PARAMETER(CONDITION=ON-FAILURE-ONLY)). The result list can be output to SYSLST or to a file. By default, no result list is created.
Follow-up processing can also be requested in the TRANSFER-FILE command. There are four types of follow-up processing:
follow-up processing in the local system if the file transfer has been successfully completed
follow-up processing in the remote system if the file transfer has been successfully completed
follow-up processing in the local system if the file transfer has been aborted because of an error
follow-up processing in the remote system if the file transfer has been aborted because of an error.
Follow-up processing after a successful file transfer can be defined for both systems by the operand SUCCESS-PROCESSING, while that following a failed file transfer is defined by FAILURE-PROCESSING.
If follow-up processing is to take place under a different user ID from that specified by TRANSFER-ADMISSION, then that user ID can be specified using the PROCESSING-ADMISSION operand.