File Name Tokens

You can create dynamic file names through the use of substitutable tokens (file name tokens) embedded within the name of the local or remote file names.

When creating a transfer template for sending a file from DNI, use the file name tokens in the remote file name field.

Example:

In this example, a remote file name is created by using file name tokens. The local file name is left blank because the name and path of the file in the DNI directory are substituted in the local file name field automatically. The entire remote file name is as follows:

prx0115.$(LocalFileBase).$(SMon)$(SDD)

The platform server resolves the file name tokens into a file name based on the base name of the DNI file, current month and day. For example, if the DNI file is named file001.dat and today's date is June 10, the generated file name is as follows:

prx0115.file001.Jun10

For a full list of file name tokens, see File Name Token List.