Initializing help system before first use

OCIlogon

Purpose
Connect to a database.
Synopsis
procedure OCIlogon(s:string|text)
procedure OCIlogon(u:string|text, p:string|text, db:string|text)
Arguments
Logon string as "user/password@db"
User name
Password
db 
Database name (may be "" for the default database)
Example
The following connects to the database `test' as the user `yves' with the password `DaSH':
OCIlogon("yves/DaSH@test") 
Open a connection to the default database the user 'scott' with the password 'tiger'
OCIlogon("scott","tiger","")
Further information
1. This procedure establishes a connection to the database db as user n/p. It is possible to open several connections but the connection established last becomes active. Each connection is assigned an identification number which can be obtained by getting the value of the parameter OCIconnection after this procedure has been executed. This parameter can also be used to change the active connection.
2. When Mosel is running in restricted mode (see Section mosel command: restricted mode), the restriction NoDB disables this routine.
Related topics
Module

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.