FileExists

FileExists determines whether a specified file exists. The function returns 1 if the file exists, 0 if it does not.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

FileExists(File);

Argument

Description

File

The name of a file. If a full parth is not specified, TM1 searches for the file in the server data directory.

Example

FileExists('C:\tm1s7\pdata\model.dim');

This example determines if the model.dim file exists.