This routine returns the full path name of the current directory.
Specification
01 path-name PIC X(n). 01 path-name-length PIC 9(4) BINARY. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_READ_DIR" USING path-name path-name-length RETURNING status-code.
Interface
Specifies the area to store the path name.
Specifies the size of the area to store the path name. The maximum value is 255.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure