i am a newbie on progress. i just followed the below kb article, but i am not getting the desired output. https://knowledgebase.progress.com/articles/Knowledge/How-to-write-a-p-script-to-execute-via-proenv-to-produce-a-stderr-stdout-in-a-file
MESSAGE ENTRY (1, "This is a test") VIEW-AS ALERT-BOX.
MESSAGE "Hello there" VIEW-AS ALERT-BOX.
DISPLAY "hello world".
proenv>proenv -b -p test.p > test.out
$ cat test.out
DLC: /opt/progress/117
WRKDIR: /opt/progress/wrk_117
OEM: /opt/progress/oemgmt_117
OEMWRKDIR: /opt/progress/wrk_oemgmt_117
Inserting /opt/progress/117/bin to beginning of path and
setting the current directory to /opt/progress/wrk_117.
OpenEdge Release 11.7.5 as of Fri Jun 7 08:29:03 EDT 2019
i am not finding, where i have done wrong. Appreciate help on this regards. Thanks.
Try
_progres -b -p test.p > test.out
or
bpro -p test.p > test.out
proenv launches a shell with DLC and other variables set. Proenv does not directly execute ABL code.