Why Migrate from Btrieve to PostgreSQL and other Relational Databases?
Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...
There are two ways to do this: (1) by using INTERMEDIATE FILES and (2) by changing the root name of the Filelist entry to Universal Naming Convention (UNC) syntax.
Using Intermediate Files (recommended)
Flex2SQL provides an easy way to generate .INT, .FD and .TAG files from an existing table or view:
Using Flex2SQL, login to the database backend (if you are not already logged on).
Select Generate | .INT File from Table/View/Synonym from the menu. This will bring up a list of all the tables/view/synonyms that exist on the server (Figure: 10.1).
Select the tables you want to generate the intermediate file for and press OK. The .INT and .TD files will be generated and added to your Filelist with the driver prefix (SQL_DRV: or ORA_DRV:).
In order to generate the .FD and .TAG file, check the appropriate options in the “.INT File From Table Grouping” dialog to enable the file generations in Filelist | Options.
Without Using Intermediate Files
To access an existing table without generating an intermediate file, a new entry must be added in the Filelist with the root name obeying the UNC convention.
ora_drv:\servernameschemaname*tablename
Where SCHEMA Name is same as the creator of the table.
Now an open TABLE_NAME command will use the table on the Oracle server.
Following our login example, to open a table called EMP created by user SCOTT (also called schema name) on an Oracle server, we will have the following entry:
ora_drv:\servernamescott*emp
Where “*” (asterisk or star) is used to distinguish between schema name and table name.
Since the calls to retrieve index information from the database system are resource intensive, you might notice a slower opening of files compared to using .INT file method.
In the case of MS SQL Server, you also need to specify the database name sql_drv:\server namedatabasename*schemaname*tablename.
Steps to Access Existing Tables Using VDF
You are ready to compile and run your DataFlex program.
Introduction Many independent software vendors (ISV) and corporate users still rely on applications that use a category of database collective called...
COBOL applications are the foundation of numerous essential business functions, especially within the banking, insurance, and government sectors....
Imagine breaking free from the constraints of old, monolithic systems and embracing the agility and innovation of cloud-based solutions.