SAS Safety Scalable Performance Data Server 4.5 Manual Do Utilizador

Página de 271
Chapter 9
Using SPD Server With Other
Clients
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Why Use ODBC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Installing OBDC Drivers on the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Configuring ODBC on the Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Preparing your Client Machine for ODBC Installation . . . . . . . . . . . . . . . . . . . . . . 
Two Types of ODBC Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Primary and Secondary LIBNAME Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Configuring an ODBC Data Source for SPD SNET . . . . . . . . . . . . . . . . . . . . . . . . 
Editing the Services File on Your Machine - ODBC Details . . . . . . . . . . . . . . . . . . 
Creating a Query Using an ODBC-Compliant Program . . . . . . . . . . . . . . . . . . . . . 
Using JDBC (Java) to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Why Would I Want to Use JDBC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
How Is JDBC Set Up on the Server? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
How Is JDBC Set Up on the Client? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
JDBC Code Examples and Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Limitations of Using JDBC with the SPD Server . . . . . . . . . . . . . . . . . . . . . . . . . 
Using htmSQL to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Why Would I Want to Use htmSQL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
How Is htmSQL Set Up on the Server? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
How Is htmSQL Set Up on the Client? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Examples of Setting Up an htmSQL Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Using SQL C API to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Why Would I Want to Use SQL C API? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
Overview
This chapter describes using SPD Server to connect with ODBC, JDBC, htmSQL, and SQL
C API clients.
Scalable Performance Data Server provides ODBC, JDBC, htmSQL, and SQL C API
access to SPD Server data stores from all supported platforms.
93