Mimer SQL OpenVMS Guide TOC PREV NEXT INDEX

Mimer Developer Site

www.mimer.com/developer


Local Client/server Access


It is possible to use the client/server interface locally, i.e. using a remote database definition which actually points to a local database server.

To achieve this, the file MIMLIB7:SQLHOSTS.DAT must be updated in a specific way using a 6th parameter in the remote definition.

The following example demonstrates this. The current node is "STARTREK", i.e. where the MIMER8 database "M8SERVER" runs.

To access the "M8SERVER" database, the MIMER7 application must connect to the database "M8ACCESS".

 --
 -- ==================================================================
 DEFAULT:
 --
 -- Database
 -- ------------------------------------------------------------------
    example_localdb
 -- ==================================================================
 LOCAL:
 --
 -- Database           Path
 -- ------------------ -----------------------------------------------
    example_localdb    DISK:[DIRECTORY]
 -- ==================================================================
 REMOTE:
 --
 -- Database           Node               Protocol Interface Service
 -- ------------------ ------------------ -------- --------- ---------
    example_remotedb   server_nodename    ''       ''        1360
    M8ACCESS           STARTREK           TCP      ''        1360 
 -- ==================================================================


Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40
dbtechnology@upright.se
Mimer SQL OpenVMS Guide TOC PREV NEXT INDEX