RENAME

Synopsis

HELP:   Rename original file after successful processing
TYPE:   STRING
SYNTAX: RENAME='str'

Description

The RENAME string is used when reading and writing to rename the file that has been successfully read or written. This is particularly useful if you are not using a shell via SSH and therefore cannot do this via pre- or post-processing. The normal use case is when writing a file, where polling takes place on the target system for further processing and where you write a '.tmp' file and rename it to '.xxx', if everything goes well, so that the polling process can process the file, which is aligned to '.xxx'. The input-output name mapping can be used referencing the read or written file and post processing is done with the renamed file.