Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OrcaScript Illegal data type error

Status
Not open for further replies.

JaredA

Programmer
Oct 2, 2008
1
US
We are using PowerBuilder 9.0. Recently, we decided to try to move away from PowerGen and use OrcaScript to build our applications. However, my script is not able to successfully import and compile PBLs from source.

A batch file first pulls all of the latest files from VSS onto the local machine. The OrcaScript then creates new empty libraries. I am using the following commands to refresh...

scc set target "C:\sem\sem.pbt" "Refresh_All ImportOnly"
scc refresh target "full"

This produces an error message...

scc refresh target full
Orca error in 'scc refresh target '. Result Code -22.
Scc operation failed. See SMS log.
An undetermined Scc error occurred.
Last Command Failed.

The following error message is recorded in the log file...

Bootstrapping Application...
PBORCA_SccRefreshTarget. Full Rebuild
Errors encountered during import/compile. Check SMS log.
Calling cm_rebuild_application(CM_REBUILD_FULL).
Library: c:\sem\pbl\semapp\semapp.pbl
Object: sem
Forward Declarations
(0002): Error C0001: Illegal data type: n_tr_oracle
PBORCA_SccClose
10/2/2008 09:43 Source control terminated

Any ideas?

Thanks,
Jared
 
Is n_tr_oracle in the path/library list? Can you recompile it by itself in PB?

Matt

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top