cancel
Showing results for 
Search instead for 
Did you mean: 

FTP between iSeries Servers from ABAP stops after 500 rows

Former Member
0 Kudos

Hello together,

we wrote an abap program which should transfer a iseries DB Table from

SAP to an other iseres DB2.

The program writes approx. 500 rows. The table has approx. 600 rows.

If we use a smaller table to transfer, the transfer will be ok.

We think there is a problem in the kernel for this topic.

How can we trace the ftp transfer? Do we have a chance to find out why

the ftp connection breaks down?

Here is a part of the abap:


  MOVE 'put zpp_s00005.file/zpp_s00005.mbr' TO command.


  CALL FUNCTION 'FTP_COMMAND'
    EXPORTING
      handle        = hdl
      command       = command
      compress      = compress
    TABLES
      data          = result
    EXCEPTIONS
      command_error = 1
      tcpip_error   = 2.

This is the log file:

quote time 9999  #
250 Inactivity time-out set to 9999 seconds.  #
cd $rein  #
250 "$REIN" is current library.  #
set passive on  #
Passive mode is on.
quote site namefmt 1  #
250  Now using naming format "1".  #
lcd /qsys.lib/r3emddata.lib  #
Local directory now /QSYS.LIB/R3EMDDATA.LIB
bin  #
200 Representation type is binary IMAGE.  #
put zpp_s00005.file/zpp_s00005.mbr  #
227 Entering Passive Mode (10,49,0,50,105,43).  #
Passive mode: Connected to Port 26923.
150 Sending file to member ZPP_S00005 in file ZPP_S00005 in library $REIN.  #
426-Cannot write to member ZPP_S00005 in file ZPP_S00005 in library $REIN.  #
426 Data transfer ended.  #

best regards,

Carsten Schulz

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

the question is: Is the ABAP FTP using the OS/400 FTP Client?

Or does SAP use his own client in the SAP Kernel?

best regards,

Carsten schulz

volker_gldenpfennig
Active Participant
0 Kudos

Hi Carsten,

that is a special SAP client ...

=> only SAP code - no OS-Code included ... => the boulder libs are of limited help here ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi,

i thought so.

I tested with

TRCTCPAPP APP(*FTP)

TRCTCPAPP APP(FTP) SET(OFF) TITLE('SAP FTP')

and there is no spoolfile.

This is the link to the V6R1 documentation:

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzaiq/rzaiqtraceserver.htm

So I need a possibility for tracing the abap FTP !?

best regards,

Carsten