PWREQ= Data Set Option

Specifies whether to display a dialog box to enter a SAS data set password.
Valid in: DATA 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 displays after a user enters an incorrect or a missing password for a SAS data set that is password protected. PWREQ= applies to data sets with read, write, or alter passwords. PWREQ= is most useful in SCL applications.