This routine changes the current directory to another directory.
Specification
01 path-name PIC X(n). 01 status-code PIC S9(4) COMP-5.
CALL "CBL_CHANGE_DIR" USING path-name RETURNING status-code.
Interface
Specifies a full or partial path name, ending with a blank or null character. The maximum size of the path name is 255.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure