Kbase P125844: How to use -param?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/15/2007 |
|
Status: Unverified
GOAL:
How to use -param?
GOAL:
Can a startup procedure have parameters?
GOAL:
How to deal with -param value in the code?
FACT(s) (Environment):
OpenEdge 10.x
Progress 9.x
Progress 8.x
Unix
Windows
FIX:
Use -param to specify a character string that can be accessed from 4GL procedures. You can also use this parameter to specify one or more files to load into Procedure Editor buffers. Within a 4GL procedure you can access the string by reading the PARAMETER attribute of the SESSION system handle.
Examples: prowin32.exe -param "ABCD 1234"
4GL: MESSAGE SESSION:PARAMETER. The message is: ABCD 1234