Previous Page | Next Page

Functions and CALL Routines under OpenVMS

GETSYM Function: OpenVMS



Returns the value of a DCL symbol.
Category: General-Purpose OpenVMS
OpenVMS specifics: All aspects are host-specific

Syntax
Details
See Also

Syntax

GETSYM(symbol-name)

symbol-name

is the name of a DCL symbol defined in your process. It can be a character variable, character literal enclosed in double quotation marks, or another character expression. If symbol-name is more than 200 characters long, it is truncated.


Details

The return value is the character string equivalent of the DCL symbol. If the symbol is defined as both a local and global symbol, then the local value is returned. If the symbol value string is longer than the length of the target variable, it is truncated.


See Also

Previous Page | Next Page | Top of Page