Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBORCA_SessionOpen – PB Docs 2017 – PowerBuilder Library

PBORCA_SessionOpen – PB Docs 2017

PBORCA_SessionOpen

Description

Establishes an ORCA session and returns a handle that you use for
subsequent ORCA calls.

Syntax

Return value

HPBORCA. Returns a handle to the ORCA session if it succeeds and
returns 0 if it fails. Opening a session fails only if no memory is
available.

Usage

You must open a session before making any other ORCA function
calls.

There is no overhead or resource issue related to keeping an ORCA
session open; therefore, once it is established, you can leave the session
open as long as it is needed.

For some ORCA tasks, such as importing and querying objects or
building executables, you must call PBORCA_SessionSetLibraryList and
PBORCA_SessionSetCurrentAppl to provide an application context after
opening the session.

Likewise, PBORCA_SccSetTarget provides an implicit application
context for SCC operations. Do not call PBORCA_SessionSetLibraryList and
PBORCA_SetCurrentAppl if you intend to call PBORCA_SccSetTarget.

Examples

This example opens an ORCA session:

See also

PBORCA_SessionClose

PBORCA_SessionSetLibraryList

PBORCA_SessionSetCurrentAppl


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x