title: PB 12.5 and OrcaScript: how to use reverent PBD file in OrcaScript
body: <p>I am trying to create a script through ORCAScript to build PB125 application but It's throwing error like undefined data type.</p>
  
  <p>Right now I am using two PBD files (<code>pbwsclient125.pbd</code>,<code>pbdom125.pbd</code>) in my workspace for reference.</p>
  
  <p>All files which I am using in my target.</p>
  
  <pre><code>pbwsclient125.pbd
  pbdom125.pbd
  a1.pbl
  a2.pbl
  a3.pbl
  </code></pre>
  
  <p>ORCA Script:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>It's throwing error like</p>
  
  <pre><code>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".
  </code></pre>
  
  <p>Please advise.
  Thanks in advance.</p>