on 08-20-2007 2:37 PM
Hi experts, I apologize because this post is duplicated but someone suggested me search help on this Forum.
There is a Job wich execute a program ( UI ) for receiving and sending files thru FTP, when we list Job Log on SM37, there is 3 Job with status canceled, when we see Job Log details the overview for job is
Message text
Job started
Step 001 started (program ZUI01, variant /JOB, user ID SAPB)
Data error in FTP copy - destination
Job cancelled after system exception ERROR_MESSAGE
The point is, User Interface transfer two files, header file is transfered from SAP to AS400 but detail file is not transfered.
I will appreciate any helpfull information because it's urgent, because is on PRD environment.
Regards,
Tokio
P.D. Points Rewards
Regards
Tokio
Not answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tokio,
Teddi's attributes are no USER attributes, but SERVER attributes !
I would not check them, I would overwrite them as follows:
quote site na 0
or
quote site na 1
Then you always know, how it is set ...
If you tell us, that this happens sporadic only, I assume, that this is based on the fact, that you are doing this manually. Here, it is the point what you use as FIRST ftp command, because e.g. cd /tmp sets it to IFS. If you do some other commands first, this doesn't work anymore automatically.
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Hi, Volker
Your answer gave me an idea about previus command execution, let me tell you that we have four (4) perform:
-First for opening connection:
<b>Source server.</b>
CALL FUNCTION 'HTTP_SCRAMBLE'
CALL FUNCTION 'FTP_CONNECT'
<b>Target server</b>
CALL FUNCTION 'HTTP_SCRAMBLE'
CALL FUNCTION 'FTP_CONNECT'
- Second (header file) and third (details file) for transfering files:
CALL FUNCTION 'FTP_COMMAND' ( For cd\tmp )
CALL FUNCTION 'FTP_COMMAND' ( For 'ascii' format )
CALL FUNCTION 'FTP_COPY' -> For copying
- Fourth for closing connection:
CALL FUNCTION 'FTP_DISCONNECT'
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
When you said "<i>If you do some other commands first, this doesn't work anymore automatically.</i>" that mean when second perform is executed (header file) and after third perform is executed (details file) what is not working automatically?
Thanks in advance.
Tokio
Hi Tokio,
I would add that as first command before "CALL FUNCTION 'FTP_COMMAND' ( For cd\tmp )":
quote site na 1
=> the i5 FTP server gets "hardcoded" set to the IFS syntax that you obviously need as you use "cd\tmp"
btw:
I would change this to the correct syntax as follows:
cd /tmp
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Hi Tokio,
this is a valid ftp command !
quote site na 1
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
Hi Tokio,
in every new ftp session ...
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.