ORCA return codes

The header file PBORCA.H defines these return codes:

Return code

Description

0 PBORCA_OK

Operation successful

-1 PBORCA_INVALIDPARMS

Invalid parameter list

-2 PBORCA_DUPOPERATION

Duplicate operation

-3 PBORCA_OBJNOTFOUND

Object not found

-4 PBORCA_BADLIBRARY

Bad library name

-5 PBORCA_LIBLISTNOTSET

Library list not set

-6 PBORCA_LIBNOTINLIST

Library not in library list

-7 PBORCA_LIBIOERROR

Library I/O error

-8 PBORCA_OBJEXISTS

Object exists

-9 PBORCA_INVALIDNAME

Invalid name

-10 PBORCA_BUFFERTOOSMALL

Buffer size is too small

-11 PBORCA_COMPERROR

Compile error

-12 PBORCA_LINKERROR

Link error

-13 PBORCA_CURRAPPLNOTSET

Current application not set

-14 PBORCA_OBJHASNOANCS

Object has no ancestors

-15 PBORCA_OBJHASNOREFS

Object has no references

-16 PBORCA_PBDCOUNTERROR

Invalid # of PBDs

-17 PBORCA_PBDCREATERROR

PBD create error

-18 PBORCA_CHECKOUTERROR

Source Management error (obsolete)

-19 PBORCA_CBCREATEERROR

Could not instantiate ComponentBuilder class

-20 PBORCA_CBINITERROR

Component builder Init method failed

-21 PBORCA_CBBUILDERROR

Component builder BuildProject method failed

-22 PBORCA_SCCFAILURE

Could not connect to source control

-23 PBORCA_REGREADERROR

Could not read registry

-24 PBORCA_SCCLOADDLLFAILED

Could not load DLL

-25 PBORCA_SCCINITFAILED

Could not initialize SCC connection

-26 PBORCA_OPENPROJFAILED

Could not open SCC project

-27 PBORCA_TARGETNOTFOUND

Target File not found

-28 PBORCA_TARGETREADERR

Unable to read Target File

-29 PBORCA_GETINTERFACEERROR

Unable to access SCC interface

-30 PBORCA_IMPORTONLY_REQ

Scc connect offline requires IMPORTONLY refresh option

-31 PBORCA_GETCONNECT_REQ

SCC connect offline requires GetConnectProperties with Exclude_Checkout

-32 PBORCA_PBCFILE_REQ

SCC connect offline with Exclude_Checkout requires PBC file