PC_READ_DRIVE

Returns the current default drive letter.
Restriction: This routine is not currently supported in COBOL for JVM.

Syntax:

call "PC_READ_DRIVE" using     drive
                     returning status-code

Parameters:

  Using call prototype (see Key) Picture
drive cblt-x1-compx pic x.
status-code See Library Routines - Key

On Entry:

None

On Exit:

drive Drive letter, upper or lower case.