A script-enabled browser is required for this page to function properly.

TOOL_ENV.Getvar

Description

Provides a way to import an environment variable into a VARCHAR variable.

Syntax

PROCEDURE Tool_Env.Getvar
(varname VARCHAR2,
varvalue VARCHAR2);

Parameters

varname
 
The name of the environment variable.
 
varvalue
 
The value of the environment variable.

Tool_Env.Getvar example

/*
** Retrieve the environment variable USER into a
** variable named :userid so you can use it in a
** connect string or other call.
*/
Tool_Env.Getvar('USER', :userid);