Previous Page | Next Page

Functions and CALL Routines under UNIX

SYSGET Function: UNIX



Returns the value of the specified operating environment variable.
Category: Special
UNIX specifics: environment-variable is a UNIX environment variable
See: SYSGET Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

SYSGET('environment-variable')

environment-variable

is the name of a UNIX environment variable.


Details

The SYSGET function returns the value of an environment variable as a character string. For example, this statement returns the value of the HOME environment variable:

here=sysget('HOME');

Previous Page | Next Page | Top of Page