Consultor Eletrônico



Kbase 19201: Error 98 when loading ALL .d's on VMS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/19/1999
Customers loading .d files on Alpha VMS may experience error 98.

Having created a new empty database and loaded the df file, the customer may experience the following error when trying to load ALL data .d's.

** Unable to open file: dbname.ds. Errno=2. (98)

The error only occurs when trying to load ALL, and not single data .d's.

In such cases check the path to the directory where the database is being created.

If the path includes a directory name that begins "db", this will cause a problem when creating the ".ds" file used to load ALL .d's. (Note, on VMS the directory separator is a ".").

When loading the data .d files, the source code program _LODDATA.P strips off the first occurrence of the database file extension ".db" from the path to the database file name. The extension ".ds" is then appended to the database file name. However as the path includes a directory name containing "db", the resulting file name is incorrect.

For example, if a customer is creating his database in a directory named "dbs", the VMS path to the database is:

.dbs.dbname.db
- _LODDATA.P strips off ".db" and appends ".ds", giving -
.s.dbname.db.ds
- when it should be -
.dbs.dbname.ds.

The error 98 is the result of trying to open file ".s.dbname.db.ds".

To resolve the problem the customer needs to rename the directory so his directory name begins with something other than "db", e.g. "adb".

PCLARE 19/10/99.