Data Access Language: Problem Opening Rdb Databases


A customer had a problem with DAL that prevents Rdb/VMS databases from being
opened in certain cases. When they issue the OPEN DATABASE command

OPEN RDB DATABASE 'mydisk:[mydir.mysubdir]my_database'

the database can't be opened.

You always need to use the IN LOCATION or USE LOCATION statement to open
databases that are not in the default directory. Although you might have
been able to open databases by specifying the full path name with the
database name in version 1.0, later versions (which support opening multiple
databases simultaneously in Rdb) do not accept a full path name here.


Published Date: Feb 18, 2012