RENAME

LANSA Integrator

RENAME

The RENAME command allows a file on the remote FTP server to be renamed.

 

 RENAME ----------- FROM ------------- file path ---------------->

 

                >-- TO --------------- file path ----------------|

 

Keywords

FROM

Existing remote path name.

TO

New remote path name.

Examples

RDML

 

USE BUILTIN(JSM_COMMAND) WITH_ARGS('RENAME FROM(order.xml) TO(order2.xml)') TO_GET(#JSMSTS #JSMMSG)

 

RDMLX

 

use builtin(jsmx_command) with_args(#jsmhandle 'rename from(order.xml) to(order2.xml)') to_get(#jsmsts #jsmmsg)