GetProcessErrorFilename

GetProcessErrorFilename returns the name of the TurboIntegrator process error log file associated with a process. If the process has not yet generated an error log file, the function returns an empty (null) string.

Important: A process error log file is not generated until all statements in a given process tab (Prolog, Metadata, Data, or Epilog) have executed. Accordingly, you can use GetProcessErrorFilename to check if any previous tabs have generated an error log file, but you cannot use the function to determine if the current process tab causes errors to be written to a log file.

For example, by determining that GetProcessErrorFilename returns a non-null string in the Epilog tab, you can tell that errors were generated in the Prolog, Metadata, or Data tabs. However, you cannot use GetProcessErrorFilename in the Data tab to determine if the Data tab generates errors.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

GetProcessErrorFilename;

Arguments

None.