cancel
Showing results for 
Search instead for 
Did you mean: 

Filename for FTP AS400

Former Member
0 Kudos

Hi,

I need to send a flatfile via FTP to an AS400. The filepattern is:

RECEIVE.WXYZhhMMdd.

The process is: Reading flatfile from Windows-Server, sending it to AS400.

There is no mapping involved where I could create this filename. When I use the standard functionality "add timestamp" from the file adapter, I get as a file name

RECEIVEtimestamp.WXYZ..

Is there any possibility to set the filename without going through the repository?

Thansk

Petra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There is no direct way that to send the file name to AS400 with Timestamp.

But you could use Variable Substitution parameters to pass any details in receiver communication channel.

You can use the time stamp from message header and pass it,

target file name = RECEIVE.WXYZ%Var1%

*Variable Substitution parameters *

Var1 = message:TimeSent etc.

Please refer below link

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Thanks

Swarup

Edited by: Swarup Sawant on Jan 24, 2008 1:46 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

I dont think we have this kind of funtionality in PI 7.0, may be soon in next version PI 7.1.

Do use some external application if available to do this.

Pls reward if found helpful.

BR,

Alok