At 03:21 PM 12/4/2015, Bruce A. Chitiea wrote:
Is there anything which can accomplish something like CVAL('VOLUMENAME'))?
Bruce,
HELP GETVAL
(GETVAL('arg1', 'arg2'))
Gets a value based on the argument data provided. The followng GETVAL
arguments are available:
· CheckMessageStatus
· GetDriveReady
· GetIPAddress
· GetLock
· GetMACAddr
· GetVolumeID
· PlayAndExit
· PlayAndWait
In your case ...
(GETVAL('GetVolumeID','driveletter'))
Example:
SET VAR vVolumeID = (GETVAL('GetVolumeID','C'))
Will return the label name of drive C.
Very Best R:egards,
Razzak