GET_DRIVE_FREE_SPACE_MEGABYTE

Use

Retrieves the available space on the device for the specified directory in megabyte.

Arguments

[IMPORTING] drive TYPE STRING

Directory for which the available memory space on the corresponding device should be determined. The directory string has to be terminated with a file separator character.

[CHANGING] free_space TYPE STRING

Available space on the device on which the directory is located.

Exceptions

CNTL_ERROR

Thrown if neither Windows nor Java nor Web GUI is being used or the operation fails.

ERROR_NO_GUI

Currently not used.

NOT_SUPPORTED_BY_GUI

This exception is raised if the GUI is Web GUI or Java GUI.

WRONG_PARAMETER

This exception is thrown if the parameter drive is empty.

GET_FREE_SPACE_FAILED

Currently not used.