Read script variables in PROGRESS code?

rajesh4you

New Member
Hi Friends,

Can anybody please explain how to use the variables defined in UNIX script in the PROGRESS code??? Assuming the script calls the PROGRESS code.
 

sphipp

Member
Use the OS-GETENV function - but don't forget that Unix is case sensitive. So the following will show the $HOME environment variable.
If you set MYFILENAME in your script then you would use OS-GETENV ("MYFILENAME").

Code:
MESSAGE OS-GETENV ("HOME") VIEW-AS ALERT-BOX.
 
Top