1 12/01/86 set_scope, ss
 2 
 3 
 4 Syntax: ss table_name1 permit_ops1 prevent_ops1 {...  table_nameN
 5                        permit_opsN prevent_opsN} {-control_arg}
 6 
 7 
 8 Syntax as an active request: [ss table_name1 permit_ops1 prevent_ops1
 9          {... table_nameN permit_opsN prevent_opsN} {-control_arg}]
10 
11 
12 Function:  defines a current scope of access to the data base for
13 nonexclusive opening modes.  This request and the del_scope request are
14 the means through which the user defines requirements to the linus
15 concurrent access control mechanism.  Every table that the user wishes
16 to access for a given period must be included within the user's scope
17 of access for that same period.  As an active request, it returns
18 "true" if the scope was set and "false" if the scope was not set.
19 
20 
21 Arguments:
22 table_namei
23    the name of a nontemporary table within the data base that is to be
24    included in the current scope of access.
25 permit_opsi
26    is a character string indicating which types of data base operations
27    are to be permitted the user who is setting scope for the
28    corresponding table.  The character string is the concatenation of
29    the codes for all operations to be permitted.
30 prevent_opsi
31    is a character string similar to that for permit_opsi indicating
32    which types of data base operations are to be denied other users for
33    the corresponding table.
34 
35 
36 Control arguments:
37 -time seconds, -tm seconds
38    specifies time in seconds that the user is willing to wait for the
39    scope to become available (DEFAULT -- 900 seconds).
40 
41 
42 Notes:  Operation codes are:  "r" (retrieve), "m" (modify), "d"
43 (delete), "s" (store), and "n" (null).  The current scope of access
44 must be empty when a set_scope is requested.