[PATHS]

Use the [PATHS] section of the assignment file to define paths to network and database connectors, which connect to a Uniface Server, DBMS, or to another path. Path assignments can include path-to-connector assignments and path-to-path assignments.

Syntax

[PATHS]
$Path {=} ConnectionString {+ConnectionString} {Switches}

The syntax for a path-to-path assignment is:

$Path {=} $DestinationPath

For example:

[PATHS]
$DEF = tcp:servermachine+13001|user|password|ust + ora:oracle|user|password

Arguments

  • $Path—name of a default path (such as $SLE), an installation path (for example $INS_SLE), or a user-defined path (for example $MYPATH).
  • ConnectionString—network or database connection string. Multiple connection strings can be specified, separated by plus signs (+). For more information, see Path-to-Connector Assignments.
  • Switches—one or more switches that instruct the Uniface Router how to manage the requested Uniface Server.

    Note:  Make sure that there is a space between the switch and the preceding connection string, otherwise it will be interpreted as part of the UST in the connection string.

  • $DestinationPath—name of a default path (for example $SLE), an installation path (for example $INS_SLEL), or a user-defined path (for example $MYPATH).

Switches

The following switches provide extra instructions to the Uniface Router when starting or accessing the specified Uniface Server:

  • /ex—For more information, see /ex.
  • /shr—For more information, see /shr.
  • /su—For more information, see /su.
  • /nosu (Unix only) —For more information, see /nosu.
  • /uec—For more information, see /uec.
  • /vfy—For more information, see /vfy .

Description

For more information on configuring logon paths for network connectors, consult the documentation for your network connector. For more information, see TCP Connector and TLS Connector.

For more information on configuring logon paths for database connectors, see the Database Access topic for your database connector. For more information, see Database Connectors.

Note:  To encrypt a connector path that includes a user name and password, you can use the Pathscrambler utility. For more information, see pathscrambler.exe and Encrypting Paths and Other Sensitive Data Using PathScrambler.

Using [PATHS]

  • The following example assignment file specifies that the path for the development repository ($idf) is redirected to a local MySQL database, the default path ($def) is redirected to a remote Oracle database, and that the system preferences path ($sys) and the run-time repository path ($uuu) are redirected to a local Sequential database:

    [PATHS]
    $idf = MQL:host:database|username|password
    $def = tcp:servermachine+13001|user|password|ust + ora:oracle|user|password
    $seq = seq:|||
    $sys = $seq
    $uuu = $seq
    
  • The following assignment specifies paths to a remote Uniface server with UST myasv:

    [PATHS]
    $asv = TCP:servermachine+13001|user|password|myasv + sru:||
    

Related Topics