Error Message :
N/A
Sporadically File transfers between BS2000 and a WIN agent has end status in activities of "ENDED_EMPTY - task is empty", but in the report it shows "ENDED OK" and the files have been transferred.
Here is an example from a Job Report showing the transer was successful:016-10-20 10:34:59 - U00011124 Selection started with filter 'SP.EXECUTE.***' ...
2016-10-20 10:34:59 - U00011125 'SP.EXECUTE.***’
2016-10-20 10:34:59 - U00011126 Files selected: '1'.
2016-10-20 10:34:59 - U00011133 OK ' 4654' Bytes, ' 122' Records for file ':E:$EPROFIT.SP.EXECUTE'->'..\SP.EXECUTE' transferred. Duration '00:00:00'.
2016-10-20 10:34:59 - U00011408 FT '27610080': FileTransfer completed.
The error is a result of that fact that in a multi-server environment the FTXSTA message can be processed before the FTXSENDQ.
Excerpt from a TCP=9 trace:03 - 20161020/103501.617 - JPEXEC_R RCV FTXSTA frm BS2ET UCFTXEX MQ1CP002 MsgID: 0000064231 c-acv: 00000000
02 - 20161020/103501.618 - JPEXEC_R RCV FTXSENDQ frm BS2ET MQ1CP002 MsgID: 0000064230 c-acv: 16032D08
FTXSTA sets the number of totalfiles to 1:
03 - 20161020/103501.641 - U00009909 TRACE: (BINDPAR: EH_TotalFiles ) fffffffc6eafa1e8 000004
03 - 20161020/103501.641 - >1<
FTXSENDQ resets the number of totalfiles to 0:
02 - 20161020/103501.663 - U00009909 TRACE: (BINDPAR: EH_TotalFiles ) fffffffc6eafa1e8 000004
02 - 20161020/103501.663 - >0<
later, the FTXWRITE message sets the Status to "ENDED_EMPTY" as EH_TotalFiles = 0:
02 - 20161020/103501.714 - JPEXEC_R RCV FTXWRITE frm BS2ET MQ1CP002 MsgID: 0000064232 c-acv: 00000000
02 - 20161020/103501.760 - U00009909 TRACE: (BINDPAR: EH_Status ) fffffffc6eaf83ac 000004
02 - 00000000 00000778 >...x<
02 - 20161020/103501.760 - >1912<