Originally posted by: rarw
Hi,
We had a map ftp to another server where there was insufficient disk space on the remote server to ftp the entire file. The map did not fail as we had expected (ftp adapter return =0).
We use a fail map command in the rule, but apparently this is not sufficient to actually fail the map for this situation. What else do we need to do to fail the map?
Also, is there a file size limit on what the ftp adapter can transfer?
Listed below is some information pertinent to the problem.
Thanks for your help - Becky
Map Rule
=VALID(RUN("MAR509_PROC.mmc"," -OAFTP1 '-T %LOGGING%MAR509_USER.mtr
%FTP_LOGIN%%FTP_DIR%%CCH01S%" + ";type=ASCII'"),
FAIL ("Failure on RUN (" + TEXT (LASTERRORCODE ( ) ) + "):" + LASTERRORMSG ( ) ) )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Map Audit trace excerpts
Run Audit Log
<ExecutionSummary MapStatus="Valid" mapreturn="0" ElapsedSec="10.129" BurstRestartCount="0">
<Message>Map completed successfully</Message>
<CommandLine>/opt/IBM/WTx_workdir/PRD/MAPS/MAR509_PROC.mmc -OAFTP1 '-T
%LOGGING%MAR509_USER.mtr %FTP_LOGIN%%FTP_DIR%%CCH01S%;type=ASCII'</CommandLine>
...
<TargetReport card="1" adapter="FTP" bytes="8493504" adapterreturn="0">
<Message>OK</Message>
<Settings>-T /opt/IBM/WTx_workdir/PRD/LOGS/MAR509_USER.mtr *****
(%FTP_LOGIN%)xxxxx/yyy/zzzzz/5022;type=ASCII</Settings>
<TimeStamp>00:29:59 February 3, 2009</TimeStamp>
</TargetReport>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Excerpt from FTP trace
...
Connecting to '111.222.333.444'.
Socket Opened.
Connected.
<STOR 5022
>550 xxxxx/yyy/zzzzz/5022: 8,no space for file on device pk (F)
Socket Closed.
Connection closed.
<ABOR
>226 No Transfer Currently Running. (S)
Data in /tmp/ftpAAAaxaGyP deleted.
Run Terminated at 00:30:00.496 on 02/03/09.
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender