Opens an application directory to use the objects contained in it.
ACCESS dirname [READ|UPDATE]
|dirname||Specifies the name of an application directory.|
|READ||Specifies that you can only read object definitions in dirname, not update object definitions. If neither READ nor UPDATE is specified, READ is the default value.|
|UPDATE||Specifies that you can read and update object definitions in dirname.|
Initializing an application database (New Database) creates a base application directory called zim. Additional application directories are defined as objects in the application database. To access any directory other than the base application directory, you must issue an ACCESS command for that directory.
Once a directory has been accessed, objects in that directory are available for use. To close a directory (and its objects) to further access, use the RELEASE command.
Use the CREATE, ERASE, RENAME, PERMISSION, ENCRYPT, DECRYPT, COMPILE, UNCOMPILE, SET SIZE, and SET SELECTIVITY commands to change object definitions only in an application directory accessed using the UPDATE option.
By accessing a directory using the READ option, you prevent unwanted modification of the directory contents. Foreign directories can be accessed using READ only.
To access directory ProjectControl in read-only mode, use
access ProjectControl read
To access the directory Personnel in update mode, use
access Personnel Update