In this module, you learned about the first steps for all external
applications using the Rational ClearQuest Perl API.
To work with user database objects you first follow these steps:
- Create a Session object.
- Get accessible user databases by calling the GetAccessibleDatabases method
of the Session object.
- Specify a database name.
- Login to the database by calling the UserLogon method of the Session
object. For external applications you must call this method before calling
other Session methods.
You must have a valid login ID and password to log on to a database.
As soon as you log on, you can start working with records and
queries.
Lessons learned
By completing this module, you
learned about the following concepts and tasks:
- How to create a Session.
- How to get accessible user databases.
- How to log on to a user database.
- How to get user database information.