TheS2KPW statement specifies the SYSTEM 2000 password and access mode for creating
a
view descriptor. The password that you specify is stored in encrypted form. It enables all who access
the view descriptor to have access to the data that it describes. If you do not specify
the
S2KPW statement when creating a view descriptor, you must specify a password when
using the view descriptor in order to access data from the database.
The password that is used when you open a view descriptor determines which data you
see and your ability to subset and edit it through the
view descriptor. You can specify the password that was used in the
access descriptor from which the view is derived, or you can specify another password that encompasses
a subset of the data in the view descriptor. If you specify a password that does not
encompass data from the access descriptor, the view is created, but the software issues
an error message when you attempt to open the view descriptor.