Operating System - OpenVMS
1827845 Members
1186 Online
109969 Solutions
New Discussion

Datatrieve and Rdb Databases

 

Datatrieve and Rdb Databases

Can anyone help with a problem I have.
I have a number of Rdb databases.
The root file is in directory DKC1:[users.database_adm.data.cosy]cosy.rdb;

If I look in CDO I can see the definition eg
CDO>set def cdd$top.database_adm.metadata.cosy
CDO>List
Directory sys$common:[cddplus]database_adm.metadata.cosy

COSY(1) CDD$dataabase

CDO> Show database
Definition of Database COSY
database uses RDB dataabse COSY
database in file COSY
fully qualified file dkc1: -[users.database_adm.data.cosy]cosy.rdb

User specified file dkc1:[users.database_adm.data.cosy]cosy.rdb

My problem is Datatrieve

DTR
DTR>Set dictionary cdd$top.databse_adm.metadata.cosy

DTR>show all

Database:

COSY;1
The Default Directory is _cdd$top.database_adm.metadata.cosy

DTR>show COSY

Unable to show _cdd$top.database_adm.metadata.cosy.cosy
relational database

%RDB-E-BAD_DB_FORMAT, COSY does not reference a database known to RDB
-RMS-E-FNF, file not found

Can anyone help with my problem please
1 REPLY 1
Volker Halle
Honored Contributor

Re: Datatrieve and Rdb Databases

Richard,

in DTR, can you do DTR> EDIT COSY and look at the definition of the database ? Does it point to the right file ? Just leave the EDIT with QUIT.

Volker.