PB 12.5和OrcaScript:如何在OrcaScript中使用虔诚的PBD文件

时间:2017-04-27 06:08:30

标签: powerbuilder

我正在尝试通过ORCAScript创建一个脚本来构建PB125应用程序,但是它会像未定义的数据类型一样抛出错误。

现在我在我的工作区中使用两个PBD文件(pbwsclient125.pbdpbdom125.pbd)作为参考。

我在目标中使用的所有文件。

pbwsclient125.pbd
pbdom125.pbd
a1.pbl
a2.pbl
a3.pbl

ORCA脚本:

start session
SET liblist "a1.pbl;a2.pbl; a3.pbl"
SET application "performed.pbl" "performrx"
BUILD library "a1.pbl" "" PBD
BUILD library "a2.pbl" "" PBD
BUILD library "a3.pbl" "" PBD
BUILD application full
BUILD executable "performmed.exe" "pbshell.ico" "performmed.pbr" "yyyyyyy"
end session

它像

一样抛出错误
Object: u_grievance
Function: u_grievance::wf_ws_get
(0052): Error C0001: Illegal data type: soapconnection
(0087): Error C0015: Undefined variable: awdqc_conn
(0089): Error C0015: Undefined variable: awdqc_conn
(0152): Error C0001: Illegal data type: soapexception
(0154): Error C0015: Undefined variable: e11
(0154): Error C0003: Condition for if statement must be a boolean.
(0211): Error C0020: Function with no return value used in expression
(0213): Error C0020: Function with no return value used in expression
(0219): Error C0020: Function with no return value used in expression
(0223): Error C0020: Function with no return value used in expression
(0225): Error C0020: Function with no return value used in expression
(0232): Error C0020: Function with no return value used in expression
(0235): Error C0020: Function with no return value used in expression
(0238): Error C0020: Function with no return value used in expression
(0243): Error C0020: Function with no return value used in expression
(0298): Error C0020: Function with no return value used in expression
(0311): Error C0020: Function with no return value used in expression
(0335): Error C0020: Function with no return value used in expression
(0348): Error C0020: Function with no return value used in expression
(0357): Error C0015: Undefined variable: e11
This object is exist in "pbwsclient125.pbd".

请指教。 提前谢谢。

2 个答案:

答案 0 :(得分:0)

我使用build project代替build application,但我认为您需要将pbwsclient125.pbd之类的PBD添加到set liblist命令中。

答案 1 :(得分:0)

SET liblist“a1.pbl; a2.pbl; a3.pbl; pbwsclient125.pbd; pbdom125.pbd” 构建可执行文件“performmed.exe”“pbshel​​l.ico”“performmed.pbr”“yyynn”

相关问题