U2-SET
Defines the connection details when creating a new U2-VIEW / U2-RBASIC file.
Syntax
U2-SET system, {port}, {default account}, user, password
Syntax Elements
system The name of the system.
port Specifying a port does not appear to work at present and should not be used. The default 31438 port will be used.
user The user-id for logging on to the database.
password The password associated with this user-id.
Example
The details entered for the U2-SET verb are stored in an environment variable as in the example below where xxx is the port number issuing the U2-SET verb. As this is an environment variable for the current process, it is not visible to other users/processes and is deleted when the session ends
U2_SET_xxx
001 system[:port]
002 user
003 encrypted password
004 default account
Comments
The use of U2-SET without any options will prompt for each parameter.