Chapter Contents |
Previous |
Next |
DBPROMPT= |
Default value: | NO |
Syntax | |
Details |
Syntax |
DBPROMPT=YES | NO |
Details |
As a data set option, DBPROMPT= is supported only for view descriptors.
Note: DBPROMPT= is not supported in DB2 under OS/390.
In the following example, connection options are specified in the ACCESS procedure. The DBPROMPT= data set option defaults to NO during the PRINT procedure because it is not specified.
proc access dbms=oracle; create alib.mydesc.access; user=testuser; password=testpass; table=dept; create vlib.myview.view; select all; run; proc print data=myview; run;
In the next example, the DBPROMPT window opens during connection to the DBMS. Values that were previously specified during the creation of MYVIEW are pulled into the DBPROMPT window fields. The user must edit or accept the connection information in the DBPROMPT window to proceed.
proc print data=myview(dbprompt=yes); run;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.