Running the Program
To run your example on UNIX:
To run Tutorial Five on a UNIX machine using the connection parameters specified during the build, change to the directory in which you built the examples and type the name of the tutorial on the command line:
t5
To run Tutorial Five on a UNIX machine and override the default arguments, use a command of this form:
t5 <access-library> <server-name> <username> <password> <database>
where:
<access-library> is the SourcePro DB access library to be used
<server-name> is the name of the server with which to connect
<username> is the username to be used when connecting
<password> is the password associated with the given username
<database> is the name of the database with which to connect on the given server
These build parameters correspond one-to-one with each of the parameters used when connecting your SourcePro DB program to the database. See
Getting a Connection of this
User’s Guide for more information on setting these parameters correctly.
To run your example on Windows:
To run Tutorial Five on a Windows machine using the connection parameters specified during the build, open a command prompt window, change to the directory in which you built the examples, and run t5 from the command line. If you need to override the defaults in Windows, use the same method shown in the UNIX example.