DDF Files in DATA Folder May Confuse PSQL

DDF Files in DATA Folder May Confuse PSQL

Release Date: 04/27/2018

Q - We recently noticed a strange phenomenon where if I try to access Elliott column names in the ARCUSFIL, I find the Customer AR account is defined as CUS_AR_ACCT_NO and it is 24 digits.  See sample screen below:



I have an application to try to find out the available column names of ARCUSFIL through system table X$Field. In there, I found that the CUS_AR_ACCT_NO is broken into three parts: 
  • CUS_AR_MAIN_NO
  • CUS_AR_SUB_NO
  • CUS_AR_DP_NO 
See sample screen below:

I am really confused as to why the column names are inconsistent.

A - In Elliott V7.5, CUS_AR_ACCT_NO was broken down as three parts: The main account, the sub-account and the department with 8 digits in each segment.  With Elliott V8, we are making it as one single column of 24 digits for consistency purposes.

The reason you see the CUS_AR_ACCT_NO in PSQL Control Center interface is because it gets the DDF definition from the <ElliottRoot>\Bin\DDF40 folder.  On the other hand, PSQL has a quirk: when it tries to locate the X$Field value, it retrieves it from the DDF in the <ElliottRoot>\Bin\DATA folder if it can find them.

In the old days, there were some legacy third party programs that only allowed accessing of the BTR files if the DDF files were in the same DATA folder. Starship was like that a long time ago. But then they changed to ODBC access, and that’s not the only case. There are some old DOS Btrieve utilities that are like that too. We don’t need to worry about those legacy programs anymore. Therefore, there is no reason why we need to keep DDF files in the DATA folder. So you should just delete the DDF files in the DATA folder.

Please see related KB article:


EMK


    • Related Articles

    • An Example of DDF Files in DATA Folder that Can Confuse PSQL

      Release Date: 04/11/2024 Version: All Q - I tried to access Elliott Item master column ITEM_CASE_SIZE in Report Desk. In one of the Report Desk reports, I wanted to drag ITEM_CASE_SIZE to the report body. But I can't find that column under the ...
    • An Example of DDF Files in DATA Folder Causing Report Desk or Power Search Issue

      Release Date: 03/14/2025 Version: 8.6 & Up Q - When I tried to print a UDR report (i.e., AP Distribution History Report) from company # 98, I got the following error message: Cannot find definition of table APDSTHST in DDFs. You probably are using ...
    • Elliott 8.6 Database Convention & Report Desk/PowerSearch

      Release Date: 08/27/2021 Revision Date: 4/11/2022 Version: 8.6 Elliott 8.6 Database Naming Convention Elliott 8.6 now supports Report Desk and PowerSearch, features based on the PSQL relational database engine. Databases must be created for Report ...
    • A Comparison of Elliott 7.5, 8.2, 8.5, 8.6 and 8.6 V2 DDF Files

      Release Date: 11/15/2022 Last Updated: 06/25/2024 Version: 7.5 & Up DDF Files are used to define the PSQL database schema. Generally speaking, we distribute five different types of DDF files for different versions of Elliott releases: 7.5 DDF: These ...
    • Elliott Database Naming Convention

      Release Date: 06/30/20 Version: 7.x & Up Listed below are examples of standard Elliott database naming conventions for current and future versions of Elliott: ELLIOTTDATA - V7.X DDF ELIDATA - V8.0-8.2 DDF ELI85DATA - V8.5 DDF EWS85DATA - V8.5 DDF for ...