IBM DB2 Universal Database For DataFlex Released in April 1999.
-
Upload
nickolas-hoover -
Category
Documents
-
view
220 -
download
0
Transcript of IBM DB2 Universal Database For DataFlex Released in April 1999.
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
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
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
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
How conversion works
Conversion Program
+
Driver
Filelist.cfg
Table
INT Extension
Delete DataFlex Files
(Optional)
Intermediate, FD and Log
Files
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
Running DataFlex applications with DB2
Running Applications
Driver
(db2_drv.dll) CAECAE
INT Files
Request
Result
SQL
Request
Result
Result
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)