IBM DB2 Universal Database For DataFlex Released in April 1999.

10
IBM DB2 Universal Database For DataFlex Released in April 1999

Transcript of IBM DB2 Universal Database For DataFlex Released in April 1999.

Page 1: IBM DB2 Universal Database For DataFlex Released in April 1999.

IBM DB2 Universal Database

For DataFlex

Released in April 1999

Page 2: IBM DB2 Universal Database For DataFlex Released in April 1999.

Supports main communication protocols

Why IBM DB2 ? Runs on a variety of Operating Systems

In the market since the early 1980s and current database market leader (in 1998 increased to a 32.3% market share)

Server NT AIX HP-UX SCO Sun

SCO

Sun

HP-UX

AIX

Windows NT

Windows 9x

Client TCP/IPNetBiosIPX/SPX

APPCNamed Pipe

Page 3: IBM DB2 Universal Database For DataFlex Released in April 1999.

Benefits of DB2 For DataFlex Combines the characteristics of a RDBMS with the power of DataFlex development tool Offers an easy migration process – source code can be used with no changes

Widen the market for your DataFlex application

Page 4: IBM DB2 Universal Database For DataFlex Released in April 1999.

DB2 For DataFlex Elements What you need to use DB2 for DataFlex with your application

DB2 UDB server 5 (or higher)

DB2 Client - CAE

DataFlex 3.1c (or higher) or Visual DataFlex 4.0c (or higher)

DataFlex Connectivity Kit for DB2 UDB

Page 5: IBM DB2 Universal Database For DataFlex Released in April 1999.

Intermediate files (<file name>.int)

Conversion program (DataFlex 3.1x: drvr_cnv.flx; VDF: menu option)

Connectivity Kit Components Driver (db2_drv.dll)

Contains the information the driver needs to access the converted files

(information on server, user, database name, indexes, fields, configuration etc.)

Converts the selected files into DB2 tables and creates the respective

intermediate files

Handles all application requests converting them into SQL statements

Page 6: IBM DB2 Universal Database For DataFlex Released in April 1999.

How conversion works

Conversion Program

+

Driver

Filelist.cfg

Table

INT Extension

Delete DataFlex Files

(Optional)

Intermediate, FD and Log

Files

Page 7: IBM DB2 Universal Database For DataFlex Released in April 1999.

Connecting to existing Tables Step 1: Add a unique numeric identifier, if there is none already in the table

Step 2: Create an index file containing the identifier (one segment only)

Step 3: Create intermediate file using a text editor

Step 4: Make a new entry in the Filelist.cfg

Step 5: Generate a new FD file

Page 8: IBM DB2 Universal Database For DataFlex Released in April 1999.

Running DataFlex applications with DB2

Running Applications

Driver

(db2_drv.dll) CAECAE

INT Files

Request

Result

SQL

Request

Result

Result

Page 9: IBM DB2 Universal Database For DataFlex Released in April 1999.

Some issues to remember

Database Administration

DataFlex files are no longer used

Synchronicity between DataFlex or Visual DataFlex and DB2 needs to be maintained (INT files, FD files, etc.)

All business rules reside in DataFlex / Visual DataFlex (flexibility)

Page 10: IBM DB2 Universal Database For DataFlex Released in April 1999.