Skip to content

How to Use EL850DB.EXE Utility to Create PSQL Databases

Release Date: 12/4/2018
Modified Date: 06/20/2020
Version: Elliott 8.5

Elliott 8.5 includes an EL850DB.EXE utility to make it easy to create PSQL databases. The new utility EL850DB.EXE is included in the Elliott 8.5 release, and you can find it in <ElliottRoot>\Bin85 folder where <ElliottRoot> is the root directory where you have Elliott 8.5 installed. Make sure you run EL850DB.EXE on the PSQL server and login as a Windows Admin or equivalent.

Prerequisite:
This utility is compatible with PSQL 11, 12 and 13. For PSQL 11, the latest service pack is required. You must login as Windows Admin or equivalent to run EL850DB.EXE on the same machine as the Elliott Data (i.e., PSQL server.). It will not work on the client workstation.

Elliott Database Naming Convention:
From Elliott V7 to V8.5, we distributed different types of DDF files in the following folders to create PSQL databases:
  • <ElliottRoot>\DDF40 - for Elliott V7.x databases in data directory.  Standard database name will be ELLIOTTDATA.
  • <ElliottRoot>\Bin\DDF40 - for Elliott V8.0 - V8.2 databases in data directory. Standard database name will be ELIDATA.
  • <ElliottRoot>\Bin85\DDF40 - for Elliott V8.5 databases in data directory. Standard database name will be ELI85DATA.
  • <ElliottRoot>\Bin85\DDFROOT - for Elliott V8.5 databases in the root directory. Standard database name will be ELIROOT.
Since Elliott Business Software supports multiple companies, for data in folders like DATA_02, DATA_03...etc, the naming convention will be replacing "DATA" above with "DATA02," "DATA03,"...etc.  For example, for Company 10 where data is stored in the <ElliottRoot>\DATA_10 folder, the corresponding Elliott 8.5 database name will be ELI85DATA10.

By default, if not specifically specified, Elliott 8.5 will assume the database name for each company by following the convention above. EL850DB.EXE helps you to create these standard database names in Elliott V8.2 or V8.5 format.

User Interface:
If the EL850DB.EXE icon is not already on your desktop or startup, navigate to <ElliottRoot>\Bin85 folder, find EL850DB.EXE and run it. You will see the following window show up:
  
  1. Database Version - You can select the version of database to create. This can be either 8.5 or 8.2. 
  2. Elliott Root Folder - A read-only text field that indicates the location of the Elliott Root Folder.
  3. Elliott DDF Folder - A read-only text field that indicates the location of the DDF folder. For 8.5, this is {ElliottRootFolder}\bin85\DDF. For 8.2, this is {ElliottRootFolder}\bin\DDF.
  4. Elliott Root DDF Folder - A read-only text field that indicates the location of the DDF folder for Elliott Root database. Only applicable for 8.5 database.
  5. Elliott Data Folder(s) - You select which data folders to create database(s) for in this control group. This section has two list views. The left "Data folders with no database" list view shows all data folders that currently do not have a corresponding database. You can check one or more item(s) to create databases for the data folders. The right "Data folders with existing database(s)" list view shows all data folders that already have a corresponding database.
  6. Check All button - Check all items in the "Data folders with no database" list view.
  7. Uncheck All button - Uncheck all items in the "Data folders with no database" list view.
  8. Create Database(s) - Create database for all checked items in the "Data folders with no database" list view.
Differences between V8.2 and V8.5 Databases
This utility lets you create both Elliott V8.5 and V8.2 databases with Elliott's standard naming convention. 
 
Elliott 8.5 databases assume all Elliott document numbers (e.g., Invoice Number, Order Number, Purchase Order Number, Voucher Number...etc.) are in string format where you can store alphabetic values.  On the other hand, Elliott 8.2 databases assume all document numbers are numeric.

Even though you may be using Elliott 8.5 programs, you can continue to run Elliott databases in Elliott 8.2 format as long as you don't store alphabetic values in your Elliott document number fields.  You may do so because: (1) You would like to evaluate Elliott 8.5 first while most of your users are running on Elliott 8.2; (2) It may take you time to convert third-party applications like Crystal Reports or web applications that depend on the V8.2 web services to convert to the Elliott 8.5 format.

Once you are ready, you can use the <ElliottRoot>\Bint85\DDF2BTR.EXE utility to convert your V8.2 databases to V8.5 format. After that, you are ready to store alphabetic values in your document numbers, and you can't use Elliott 8.2 and other third-party applications that utilize the Elliott 8.2 format anymore. Please refer to Elliott 8.5 Release Notes and other KB articles on how to use DDF2BTR.EXE for this purpose.

Manually Create Database Through PSQL Control Center
For information on how to create databases manually via Pervasive Control Center (PCC), please visit this knowledge base article.

Known Issue with DDF Files in DATA Folder
By design, your Elliott DDF files should reside in <ElliottRoot>\Bin\DDF40 or <ElliottRoot>\Bin85\DDF40 folders.  Then when you choose to create the corresponding Elliott database, you will specify as in the following example:
  • Dictionary: <ElliottRoot>\Bin85\DDF40
  • Data: <ElliottRoot>\DATA


We have seen that if you also have a copy of DDF files residing in the <ElliottRoot>\DATA folder, then those DDF files will override the DDF files in <ElliottRoot>\Bin85\DDF40 in the  above example.  This can cause a big problem for Elliott when accessing data through the relational engine.  Therefore, you should not place DDF files in your DATA folder.


VYC/EMK

Feedback and Knowledge Base