SEARCHPATH Examples
The following examples assume an existing path of "c:\plb\data".
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c:\live\data |
The search path is modified to be "c:\plb\data;c\live\data". No Condition Flags are set (all FALSE).
Example 2:
|
|
|
|
|
|
Variable |
PL |
FP |
LP |
Contents |
|
Before: |
PATHVAR |
12 |
1 |
2 |
c:•••••••••• |
|
| |||||
|
After: |
PATHVAR |
12 |
1 |
11 |
c:\plb\data |
No Condition Flags are set (all FALSE).
Example 3:
|
|
|
|
The OVER condition flag is set because the the current path did not include the specified directory.
Example 4:
|
|
|
|
No condition flags are set. The path is modified to be "c:\work".
Example 5:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These examples show SEARCHPATH instructions executed at the Data Manager.
![]() |