PWREQ= Data Set Option

Specifies whether to display a password dialog box.

Valid in: DATA step and PROC steps
Category: Data Set Control

Syntax

PWREQ=YES | NO

Syntax Description

YES

specifies to display a dialog box.

NO

prevents a dialog box from displaying. If a missing or invalid password is entered, the data set is not opened and an error message is written to the SAS log.

Details

In an interactive SAS session, the PWREQ= option controls whether a dialog box is displayed when an incorrect or a missing password for a password-protected SAS data set is specified. PWREQ= applies to data sets with READ=, WRITE=, or ALTER= passwords. PWREQ= is most useful in SCL applications.