DBLOAD Procedure Reference |
Applies to: | Required for existing databases |
Applies to: | Optional for new databases |
Syntax |
Syntax |
VIEWDESC= libref.view-descriptor; |
Note: When creating a new database using the VIEWDESC= statement, it must follow some statement that is only for creating a new database. The VIEWDESC= statement cannot be the first statement specified in PROC DBLOAD.
The VIEWDESC= statement identifies the view descriptor for the SYSTEM 2000 database that is being created or loaded.
For an existing database, the VIEWDESC= statement is required because it contains the database name and identifies the password and the components in the view.
When you create a new database, PROC DBLOAD creates a view descriptor. By default, the new database name is WORK.database.VIEW, where database contains the first 7 characters of the new name. The view descriptor matches the access descriptor from which it is derived. Use the VIEWDESC= statement to specify the libref and member name for a permanent view descriptor. If the member name for the view descriptor already exists, PROC DBLOAD will not create a new database. (See also ACCDESC= Statement (Optional).) VIEW= and VD= are aliases.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.