This routine returns the name of the current drive.
Specification
01 drive PIC X. 01 status-code PIC S9(4) COMP-5.
CALL "PC_READ_DRIVE" USING drive RETURNING status-code.
Interface
Specifies the area to store the drive name. The drive name is returned with capital letters.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure