![]() Chapter Contents |
![]() Previous |
![]() Next |
| DATABASE= |
| Required statement | |
| Applies to: | access descriptor |
| Syntax | |
| Details | |
| Arguments |
Syntax |
| DATABASE=database-name DBTYPE=database-type; |
| Details |
For logical databases, the access descriptor definitions are mapped to the logical DBD (database description) and not to one or more physical DBDs. This enables the IMS-DL/I engine to build correct database calls and for the SSAs (segmented search arguments) to navigate the logical structure of the database.
Note: See Tools for Creating Access Descriptors for tools that SAS Institute
supplies to automate the database definition process. ![[cautionend]](../common/images/cautend.gif)
| Arguments |
DBTYPE= tells the IMS-DL/I engine how to handle WHERE clauses that generate SSAs for database calls. If you omit DBTYPE= from your DATABASE= statement, you receive the following error:
ERROR 22-322: Expecting one of the following: DBTYPE = NAME. The statement is being ignored. ERROR: Must enter database name first.
An example of the DATABASE= statement is
database=acctdbd dbtype=hisam;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.