Kbase P57834: 4GL/ABL: How to spawn a new CHUI TTY windows character 4GL client session having the same PROPATH as
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/15/2008 |
|
Status: Verified
GOAL:
4GL/ABL: How to spawn a new CHUI TTY windows character 4GL client session having the same PROPATH as the parent session?
FACT(s) (Environment):
Windows
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
Use one of the following methods:
1. Use an .ini file:
Add the desired PROPATH definition in the [WinChar Startup] section of the .ini file and use -basekey "ini" -ininame filename.ini startup parameters to point to that .ini file in the command line starting the session. For example:
os-command _progres -basekey "ini" -ininame filename.ini -p file.p.
2. Set the Windows Operating System Environment Variables :
Define the PROPATH as a user environment variable from Control Panel > System > Advanced > Environment Variables.
3. Import the PROPATH from a file:
Store the PROPATH in a text file and pass its name to the new session using -param startup parameter. The new session procedure file.p gets the file name from the SESSION:PARAMETER attribute and uses the IMPORT and the PROPATH statements to build the desired PROPATH for the session. For example:
os-command _progres -basekey "ini" -param propathfilename -p file.p.