std.CheckSource

This job checks the existence of files in specific directories. The directory path can be replaced by a path variable. Example: %SERVERROOT%\test.txt

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Must be 0.

Source

STRING

Yes

Path and filename of the file to be checked. Selected enaio® standard paths can be replaced by path variables (see below).

2. Output Parameters

Name Type Dependency Description

State

INT

0 = file does not exist; 1 = file exists

3. Supported Path Variables

Variable Description

%SERVERROOT%

Installation directory of the server (default: <enaioinstall>/server)

%ETCPATH%

ETC directory of the server (default: <enaioinstall>/server/etc)

%WORKPATH%

Parent directory of the WORK directory (default: <enaioinstall>/server)

%LOGPATH%

Directory of server logs (default: <enaioinstall>/server/log)

%CLIENTETC%

Identical to %ETCPATH%

4. Return Value

(INT): 0 = Job successful, otherwise error code.