Chapter Contents

Previous

Next
GETDVI

GETDVI



Returns a specified item of information from a device

Language element: function
Category: general-purpose OpenVMS
OpenVMS specifics: All aspects are host-specific


Syntax
Details

Syntax

GETDVI(device-name,item)

device-name
specifies a physical device name or a logical name equated to a physical device name. Specify the device name as a character-string expression.

After the device-name argument is evaluated, the F$GETDVI lexical function examines the first character of the name. If the first character is an underscore (_), the name is considered a physical device name. Otherwise, a single level of logical name translation is performed, and the equivalence name, if any, is used.

item
is a character variable that contains any item accepted by the F$GETDVI lexical function (for example, the physical device name). For more information about the F$GETDVI lexical function, see OpenVMS DCL Dictionary.


Details

The GETDVI function returns the device information as a character string. If the device information string is longer than the length of the target variable, it is truncated.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.