INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

No error text: Can't open dferr001

No error text: Can't open dferr001

(OP)
Anyone know what this error means?

"No error text: Can't open dferr001.  Technical Details: Error Number 4150, Line Number 4545"

RE: No error text: Can't open dferr001

Hi,

Dataflex help messages are stored in the files FLEXERRS.dat, DFERR001.dat, DFERR002.dat, DFERR003.dat and DFERR004.dat

FLEXERRS.dat
   errors 1 - 119: these are historical (old dataflex) errors
   errors 120 - 4095: these are user errors
DFERR001.dat
   errors 4096-8191: these are system errors
DFERR002.dat
   errors 8193-12287: these are utility errors
DFERR003.dat
   errors 12289-16383: these are DBMS Driver errors

Dataflex expects that these files will be in the DFPATH environment variable (might be set using a file dfenv.cfg in the application directory).  Also look for DFPATH in the registry (but obviously, take care if you decide to edit DFPATH in the registry).

The first part of the error message seems to indicate that the DFERR001 error data file is not present on the system or not loaded in a directory that is in the DFPATH.

The second part of the error message indicates that the error message you are getting is

Error 4150 which is "Attempt to reference invalid item number"

The reference to line number 4545 relates back to the compiler assignment of line numbers and will in all probability not be the physical line number in the source.  

You have not indicated which version of Dataflex you are using. If it is an old version 3.x, then, from memory, you can compile the program with dfcomp -f file.src

If using a newer vesion 6.x onwards (my knowledge stops at 6.0, but I presume that later versions also allow this, you can just run dfcomp, select a workspace and a program, then compile with create list file selected and choose a verbosity level.  

Either of these will then create a .prn output file which will show you the line numbers, and therefore the offending line so that you can debug the problem further.

The 4150 error seems to indicate perhaps that there is a versioning issue between the program and the filelist.cfg or the file definition for one of your datafiles??

Hope this is of some help - been a while since I have done any detailed dataflex work, but maybe this points you in the right direction.
Assuming that you have the source for the program you can compile this with

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close