DBN= Statement (Required)

Specifies the database to be created

Alias: DB=
Applies to: New databases

Syntax

DBN= database-name;

Syntax Description

The DBN= statement is required when you are creating a new database. It specifies the name of the database to be created. A database with the same name must not already exist. database name must be a valid SYSTEM 2000 database name, from 1 to 16 characters in length. Database names longer than 16 characters are truncated and no error message appears. If the database name contains embedded blanks or special characters, enclose the special characters in single quotation marks. The slash (/), colon (:), and equal sign (=) are not used.
SYSTEM 2000 uses the first 7 characters of the database name as part of the ddname for the database files. Any restrictions imposed by the operating environment on ddnames also apply to the database name.
For single-user jobs, you must allocate your files to your SAS session. For the Multi-User environment, the database files can be allocated when the Multi-User software is initialized or, if using Release 12.0 or later of SYSTEM 2000, the files can be dynamically allocated during execution by using the ALLOC command.