ODBC Overview
Total Page:16
File Type:pdf, Size:1020Kb
ODBC Overview ODBC Defined................................................................................................................................ 2 SQL Defined ................................................................................................................................... 2 Transoft U/SQL .............................................................................................................................. 2 Third Party Products ....................................................................................................................... 3 ODBC Enable Reporting Products ............................................................................................. 3 ODBC Enabled Spreadsheets ..................................................................................................... 3 ODBC Enabled Business Intelligence Products ......................................................................... 3 ODBC Enabled Development Tools ........................................................................................... 4 ODBC Enable Word Processing and Internet Products .............................................................. 4 Universal Data Dictionary .............................................................................................................. 4 Preparing Reports Using ODBC ..................................................................................................... 5 Questions to ask before extracting data for a report ................................................................... 5 Connecting to the Data Source ................................................................................................... 6 Getting started with an ODBC enabled product: ........................................................................ 7 Designing the Query/Report ....................................................................................................... 8 Distributing/Saving Reports........................................................................................................ 8 Types of Reports ......................................................................................................................... 8 ODBC Overview Page 2 of 9 ODBC Defined ODBC stands for Open DataBase Connectivity. ODBC is a standard programming interface which provides access to data in Microsoft Windows applications. It is now possible to access any data from any application, regardless of which database management system (DBMS) is handling the data. ODBC manages this by inserting a middle layer called a database DRIVER. The driver translates the application’s data queries (SQL requests) into commands that the DBMS (Minitrac) understands. ODBC was created by the SQL Access Group in 1992 and Microsoft was the first to provide ODBC compliant products. This standard is now used extensively by many Windows applications, including Microsoft Access and Excel. In order for ODBC to work properly, both the DBMS software and the Applications product must be ODBC compliant. Release 10 of Minitrac® made it ODBC compliant. The client software to run the product on individual PC’s was not installed. This process will have to be performed to install the client software on each PC. (See Chapter 2 for a detailed description of this process.) SQL Defined SQL stands for Structure Query Language. SQL is the data access language used by ODBC enabled products. Windows applications issue SQL requests and the DBMS (Minitrac) responds to them. SQL is used by all relational database products, such as Oracle, Informix, and Sybase. Using SQL allows users to gain relational access to non-relational data. The Minitrac database uses an ISAM (Indexed Sequential Access Method) as the means to accesss the data. Adding ODBC is the simplest and quickest way to provide RDBMS (Relational DataBase Management Systems) access and power to Minitrac users. Transoft U/SQL DIS Corporation chose the Transoft product to use with the Minitrac ODBC integration. Transfoft is a highly specialized software and consulting services company. The Transoft U/SQL product provides ODBC and SQL based access to the Minitrac database. The software application is a Multi-tier Client-Server Driver. In the Multiple-tier model of U/SQL Client-Server, the U/SQL ODBC driver resides on the client platform, which is connected via a LAN to the server platform, where the U/SQL Server and Data Source Driver reside. Your client platform will be a Windows PC and your server platform a Unix Server machine. The SQL access is done on the server, with the data being returned over the network to the ODBC application running on the client. In this way, the power of the server is utilized to execute the SQL queries and reduces the network traffic. This enhances performance and obtains query results faster. The current license on Minitrac® for Transoft U/SQL software uses 32 bit architecture. This structure means that it only runs under 32 bit versions of the Third Party Products, including the Office 365 packages. A 64 bit Transoft License is available for purchase, and will run on Minitrac®, however this license is an upgrade and the cost is in the thousands of dollars depending on the number of users. Also, the license needs to be updated for all users, even if only a few use 64 bit architecture products. ODBC Overview Page 3 of 9 Third Party Products Once the server and client U/SQL products are install and running, any ODBC capable products on your PC should be able to access the Minitrac system data. Many kinds of products use ODBC to obtain and process data. For example, ODBC enabled products include: • Report Generating products • Spreadsheet products • Business Intelligence products • Development Tools • Internet Publishing/Word Processing products **Important Notice** SUPPORT and TRAINING for all third party products is not provided by DIS Corporation or Minitrac Computer Systems. Please direct all questions and issues with utilizing these products to your vendor. Training can be obtained from your local supplier or by attending local schools or community colleges. Please review your documentation that came with these products to learn how to connect to an ODBC Data Source. It is simply not feasible for Minitrac employees to be come experts in every ODBC enable product on the market, as well as maintain their expertise in the Minitrac software itself. Questions regarding the use of third party packages, such as Microsoft Excel or Access must be made to Microsoft. The fee paid for ODBC support is to maintain the database and the data dictionary. ODBC Enable Reporting Products Reporting products take database information and make custom-made reports for management review. Reporting products include: • Crystal Reports “PRO Edition” (www.crystalreports.com) • Cognos Impromptu. (www.ibm.com/cognos/analytics) ODBC Enabled Spreadsheets Spreadsheets use cells organized in columns and rows to process data. Reports and graphs can be generated from data ODBC imported into a spreadsheet program. The most Common ODBC enabled spreadsheet programs is Microsoft Excel. ODBC Enabled Business Intelligence Products Business Intelligence applications are designed to provide On-Line Analytical Processing (OLAP) of data and present this is a graphical form. OLAP enable products include: • Cognos Powerplay (IBM Corp) ODBC Overview Page 4 of 9 • Business Object—Business Objects, Inc. • Business Query (Excel Add-On)—Microsoft • Access—Microsoft ODBC Enabled Development Tools Development tools actually create programs to interact with ODBC enable databases. **Important Notice** Minitrac supports only “read-only” ODBC usage. Any attempt to change or modify information within the Minitrac database outside of using the Minitrac software automatically voids any support agreements and will put the user in violation of contract. Development tools that support ODBC usage are: • Visual Basic—Microsoft • Delphi—Borland ODBC Enable Word Processing and Internet Products Word processing products often can be used to manipulate charts and data for presentations or reporting purposes. The database used can be from a spreadsheet, or with ODBC capabilities, directly from the Minitrac database. In addition, many Word Processing programs allow their documents to be saved as Web-ready HTML files. ODBC enabled Word Processing and Internet products include: • Microsoft Word—Microsoft • HTML files for Internet Explorer Universal Data Dictionary The Transoft U/SQL Client-Server employs a two-level data dictionary technology, to provid a “relational view” of the Minitrac non-relational data. The Universal Data Dictionary (UDD) contains a set of system tables that provides a relational description of the Minitrac data. It also contains the Universal File Dictionary (UFD), which is a further set of tables that describes the physical structure of the files being accessed. Without a proper and updated UDD, the ODBC system will not work properly, if at all. The ODBC support fee covers the cost of DIS Corporation maintaining the Data Dictionary and keeping it current with any programming upgrades or changes. ODBC Overview Page 5 of 9 The Minitrac database name is “mini.udd”. The file is located on the Unix Server at the location /usr/usqls/bin/mini.udd. The Configuration file that maintains licensing and company information is located in your system at /usr/usqls/bin/usqlsd.ini. Generally, once these files are loaded and set up on your system, they should