PERMISSIONS

PERMISSIONS changes the read/write permissions for the specified file, using the operating system facilities for changing permissions.

PERMISSIONS FILE='filespec'

  /PERMISSIONS {READONLY }
               {WRITEABLE}

Example

This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.

PERMISSIONS FILE='/mydir/mydata.sav'
  /PERMISSIONS READONLY.

File permissions can also be set from the Mark File Read Only/Mark File Read Write toggle item on the File menu.