Raf*_*ilo 1 progress-4gl progress-db openedge
我是进步的新手。我只是按照下面的知识库文章,但我没有得到所需的输出。 https://knowledgebase.progress.com/articles/Knowledge/How-to-write-ap-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".
Run Code Online (Sandbox Code Playgroud)
proenv>proenv -b -p test.p > test.out
Run Code Online (Sandbox Code Playgroud)
$ 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
Run Code Online (Sandbox Code Playgroud)
我没有找到,我做错了什么。感谢这方面的帮助。谢谢。
尝试
_progres -b -p test.p > test.out
Run Code Online (Sandbox Code Playgroud)
或者
bpro -p test.p > test.out
Run Code Online (Sandbox Code Playgroud)
proenv 启动一个带有 DLC 和其他变量设置的 shell。Proenv 不直接执行 ABL 代码。