Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

Create an Initial Connection Object (dbo_initial_connection_object.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Create an Initial Connection Object

To start to use the DataBasic Object (DBO) ServerClosed you must first create a connection.

The connection method specifies the target external language server, as well as optionally specifying the server communication port number, server name and timeout.

%Connect([JAVA || DOTNET]{, port{, system{, timeout}}})

For example:

Cxn = %Connect(JAVA)

Cxn = %Connect(DOTNET, 3091, "localhost")

By default the 32-bit DNLS listens on port 3091 and the 64-bit DNLS listens on port 3092.

The first connection made automatically becomes the default connection. Some special methods can automatically use the default connection (e.g. %NEW). For more information, see Special Methods for Connector Objects.

RealityV15.2Revision 3Comment on this topic