Previous versions of the ADABAS Interface required specification of the ADABAS database number in the Access File using the DBNO attribute. This feature required a duplicate copy of the Access File for each database accessed.
ADABAS database numbers can now be set from the command level in FOCUS. A new SET command allows users to override the DBNO in the Access File. Note that specifying database numbers in the Access File is still supported. Use of the dynamic database number makes Master and Access Files shareable among databases.
The SET command remains valid throughout the user's session.
The syntax is
{CMS|MVS} ADBSINX SET DBNO dbno
{CMS|MVS} ADBSINX SET DBNO dbno AFD afd
{CMS|MVS} ADBSINX SET DBNO dbno AFD afd SEG[NAM] segname
{CMS|MVS} ADBSINX SET ?
{CMS|MVS} ADBSINX SET DBNO DEFAULT
where:
Examples for MVS are shown below:
Note: Several commands can be issued for different files. Each command must be issued separately. Changes are cumulative. For example:
MVS ADBSINX SET DBNO 1 AFD EMPFILE
MVS ADBSINX SET DBNO 2 AFD EMP2
MVS ADBSINX SET DBNO 3 AFD VEHICLES
Information Builders |