── EXECUTEPATH ── = ─┬─ <path specification> ───────────┬──────────────┤ └─ ( ── <path specification> ── ) ─┘
┌◄──────────────────────── , ────────────────────────┐ ──┴─┬─<directory>────────┬─ ON ─┬─<family name>──────┬─┴───────────────┤ ├─ # ──<string expr>─┘ └─ # ──<string expr>─┤ └─ # ──<string expr>─────────────────────────────┘
──┬─ * ── DIR ── / ──<subdirectory>─┬──────────────────────────────────┤ ├─ ( ── * ── ) ───────────────────┤ ├─ ( ──<usercode>── ) ────────────┤ └─ * ─────────────────────────────┘
Explanation
The EXECUTEPATH attribute determines the directories that the task uses when processing code files if the prefix and family name have not been explicitly specified.
String expressions and string primaries that evaluate to constants can be used for EXECUTEPATH in the WFL job heading. WFL job parameters can be used in constant expressions.
When the EXECUTEPATH assignment appears in the job heading or in task equation, parentheses are not allowed. When an EXECUTEPATH assignment appears in a task attribute list, parentheses are required.
Examples
The following is an example of an EXECUTEPATH assignment:
EXECUTEPATH = DIR/SHARED ON PROJECTPACK, (*) ON HOMEPACK;
The following EXECUTEPATH assignment uses a previously defined string variable named SEXECUTEPATH:
SEXECUTEPATH := "DIR/SHARED ON PROJECTPACK, (*) ON HOMEPACK"; . . . RUN OBJECT/TEST; EXECUTEPATH = #SEXECUTEPATH;
The following EXECUTEPATH assignment uses a string expression. SDIR, SFAM, and SPATHELEMENT are previously defined string variables:
SDIR := "*DIR/SHARED"; SFAM := "PROJECTPACK"; SPATHELEMENT := " (*) ON HOMEPACK"; . . . RUN OBJECT/TEST; EXECUTEPATH = #SDIR ON #SFAM, #SPATHELEMENT, * ON DISK;
The following is an example of a EXECUTEPATH assignment in a task attribute list. It uses a string expression. SDIR, SFAM, and SPATHELEMENT are previously defined string variables:
SDIR := "*DIR/SHARED"; SFAM := "PROJECTPACK"; SPATHELEMENT := " (*) ON HOMEPACK"; . . . MYJOB (EXECUTEPATH = (#SDIR ON #SFAM, #SPATHELEMENT, * ON DISK), VALUE = 5);