P. 1
TEC Implementation Examples Sg245216

TEC Implementation Examples Sg245216

|Views: 1|Likes:
Published by bupbechanh

More info:

Published by: bupbechanh on May 25, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less






Since the installation of the Sybase database is a new process for TEC users we
show the installation of Sybase on a single machine using Sybase 11.0.1. Also note
that TMR Framework was already installed.

Figure 159. WindowsNTRunSetupProgram

Run the setup program for Sybase and click OK.

© Copyright IBM Corp. 1998


Figure 160. SybaseCASVerification

Enter the license key (Customer Authorization String (CAS)) and click Continue.

Figure 161. SybaseReleaseDirectory

Enter the path for the installation directory and click Continue.

286TEC Implementation Examples

Figure 162. SybaseProductSetSelection

Select the 32-bit option and click Continue.

Appendix A.TEC Installation on Windows NT


Figure 163. SybaseWindowsNTProductSelectionScreen

Accept defaults on the installable packages window and click Continue.

Figure 164. SybaseSQL.INIDialog

Select Ignore for now for the SQL.INI interface file options and click Continue.

288TEC Implementation Examples

Figure 165. SybaseSQLServerConfiguration

Accept the defaults for the server configuration screen click Continue.

Appendix A.TEC Installation on Windows NT


Figure 166. SybaseInstallationComplete

Select Reboot machine and click Finish.

After your machine reboots, do the following:

1.Select Start menu->Programs->Sybase for Windows NT->Services

290TEC Implementation Examples

Figure 167. Sybase-ServicesManager

2.From there, click on the Start/Continue button (the green light).

After you start the service, you have to do the following:

1.Select Start menu->Programs->Sybase for Windows NT->SQL Server

Figure 168. Sybase-SQLServerManager

2.Select the first database of the three listed on the left.

Appendix A.TEC Installation on Windows NT


Figure 169. Sybase-SSMConnect

3.Log in as sa with no password.Click OK.

Figure 170. SybaseSQLServerManager-sa

4.Right click on the database you logged into and select Create->Database


292TEC Implementation Examples

Figure 171. SybaseSSMCreateDatabaseDevice

5.Name the Logical area (that is, tec).

6.Name the physical device (that is, c:\sybase\data\tec.dat).

7.Make the database 40M.


Figure 172. SybaseSSMDatabaseDevice:tec

Appendix A.TEC Installation on Windows NT



Figure 173. SybaseSQLServerManager-sa

10.Confirm you have the device by double-clicking on the active database, (the
one with the lightening bolt on it), then on Database Devices, and the tec
device you created should appear there.

Figure 174. SybaseSQLServerManager-sa

11.Right click on the database you're still logged on and select Create->Database.

294TEC Implementation Examples

Figure 175. SybaseSSMCreateDatabase

12.Name db the same as your server ID for the RIM object (tec).

13.Set the owner to sa for now.This will be changed later.

14.Set the db device to tec as created in the above.

15. ClickAdd.

16. ClickOK.

If the installation did not add the environment variables DSQUERY, DSLISTEN and
SYBASE, you should add them manually.An example of what they should be set
to is shown in Figure176 on page296.

Update the PATH Windows/NT variable with the directory path of the Sybase
executables and Dynamic Link Libraries (DLLs).All this can be done by clicking on
the System icon on the Control Panel Settings group.

Appendix A.TEC Installation on Windows NT


Figure 176. WindowsNTEnvironmentMenu

The following variables are set:

DSQUERY defines the SQL server name that the client program tries to
connect to if no name is specified with a command line option.

DSLISTEN defines the name SQL server uses to listen for client connections.

SYBASE defines the path of the Sybase directory.

Now we need to start Sybase SQL_Server.

296TEC Implementation Examples

Figure 177. WindowsNTServicesMenu

Click Start.

To do automatic startup at system reboot, from the same screen, change startup
option as follows:


Change startup type to Automatic.


To test Sybase functionality, we issue the following command (sp_help may
produce lots of output):

bash$ isql -Usa
1> sp_help
2> go
1> exit

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->