PW= Data Set Option

Assigns a READ, WRITE, and ALTER password to a SAS data set and enables access to a password-protected file.

Valid in: DATA and PROC steps
Category: Data Set Control
Supports: SAS data set

Syntax

Syntax Description

password

must be a valid SAS name.

Details

The PW= option is supported only for unsecured DSNs. If you try to assign a password to a SAS data set that is protected by SAS Federation Server authorization, SAS Federation Server returns an error.