Chapter Contents

Previous

Next
SYSGET

SYSGET



Returns the value of a UNIX environment variable

UNIX specifics: variable-name is a UNIX environment variable


Syntax
Details

Syntax

SYSGET('variable-name')


Details

The SYSGET function returns the value of an environment variable as a character string.

You can specify the following argument with the SYSGET function:

variable-name
is the name of an environment variable.

For example, this statement returns the value of the HOME environment variable:

here=sysget('HOME');


Chapter Contents

Previous

Next

Top of Page

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