Set Directory (17)
The Set Directory operation (B_SET_DIR) sets the current directory to a specified pathname.
Parameters
 
Prerequisites
The target logical disk drive and directory must be accessible.
Procedure
1
2
For details about path names supported by Pervasive PSQL clients, see Network Path Formats Supported by Pervasive Requesters in Getting Started With Pervasive PSQL.
Result
If the Set Directory operation is successful, the transactional interface makes the directory specified in the Key Buffer the current directory.
If the Set Directory operation is unsuccessful, the transactional interface leaves the current directory unchanged and returns a nonzero status code.
Positioning
The Set Directory operation has no effect on positioning.