cancel
Showing results for 
Search instead for 
Did you mean: 

rename File with system Command of a CC in a adapater FTP as400 before processing

Former Member
0 Kudos

Hi

Is there's a way to rename with the "run operation system command before message processing" in the Communication Channel using a File Adapter (FTP) with datetime format .

                                 filename.file - > filename+datetime.file

the FTP server is a as400, my scenario is a File to (File & proxy) split message destination

because of the scenario split message destination to File and to Proxy need to have the timestamp the same in the destination of both messages, because if i use the timestamp standard of the CC is different from the proxy receiver, i was thinking to rename it before processing.

if you have a different idea to have the same filename destination name is welcome.

Regards,

ERM

Accepted Solutions (1)

Accepted Solutions (1)

former_member190624
Active Contributor
0 Kudos

Hello Erick,

AFAIK , Yes rename of file is possible . Make use of " Run OS command before Message processing" option in Processing TAB and specify rename command based on your FTP OS.

For more details look into below help link

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Regards

Hari.

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Erick

Try this:

mv %F %F_date"+%Y%m%d"

Regards.