Consultor Eletrônico



Kbase 11113: How to Input a DOS Environment Variable into Progress
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to Input a DOS Environment Variable into Progress

VERSION 6:

In order to use a DOS environment variable in version 6 of Progress,
the following must be done:

In a batch file (it has to be in a batch file!):

@ECHO %environment variable% > filename

This will put the value of a environment variable into a file. You
can then input this file into Progress.

You will have to do this @ECHO statement and create the corresponding
file for each environment variable.

-------------------
VERSION 7:

In version 7 of Progress, the OS-GETENV function will return a string
that contains the value of the specified environment variable. The
syntax is: OS-GETENV(environment-variable). The name of the
environment variable needs to be in quotes. Consut the Language
Reference manual for version 7 for more information on this function.

Progress Software Technical Support Note # 11113