Valid on z/OS, z/VSE, and z/VM.
Use the SELECT keyword to:
Use any of the following methods to control access to SELECT records: Expiration, Facility, Time/Day, and Actions. Specify any or all of the access levels associated with an FCT: SET, INQUIRE, ALL, BROWSE, DELETE, NONE, READ, and UPDATE. If ACCESS is not specified, CA Top Secret defaults to READ access.
When used with the SDT record, this keyword has the following format:
TSS ADDTO(SDT) SELECT(sel‑name)
DESCRIPT(descript‑name)
SELDATA('IF [NOT] sel‑expression [AND|OR] sel‑expression')
Specifies a user‑defined record ID that must be unique for each SELECT record. It can contain letters, numbers, and special characters.
Range: Up to 8 characters
Designates an optional user‑description field used as a logical name for this record. If the description field contains blanks enclose it in single quotes.
Range: Up to 32 characters
When used with PERMIT commands involving RLP and SLP, this keyword has the following format:
TSS PERMIT(acid) FCT(oper)
SELECT(selread,selwrite)
TSS PERMIT(acid) {OTRAN(tran)|PPT(program)}
SELECT(selread)
One SELECT statement per TSS command
Specifies the SDT SELECT record used as the selection process file accesses of READ and BROWSE.
Specifies the SDT SELECT record used as the selection process for file accesses of UPATE(WRITE, REWRITE, DELETE).
Note: It is not necessary to have both a selread and selwrite record for a SELECT statement. If selwrite is omitted, then the SELECT record specified by the selread is given both READ and UPDATE accesses.
Can have an access level of: READ, BROWSE
Can have an access level of: WRITE, UPDATE, DELETE
Note: If only an input record is used on the SELECT statement, it would be permitted UPDATE access.
When used with PERMIT, this keyword has the following format:
TSS PERMIT(acid) FCT(oper) SELECT(selin,selout)
Specifies the input select record.
Specifies the output select record.
Note: It is not necessary to have both an input and output record for a SELECT statement.
One SELECT statement per TSS command
This keyword is used with:
This example creates a SELECT record called PROBE1 in the SDT, selecting departments ranging from 200 through 299:
TSS ADDTO(SDT) SELECT(PROBE1)
SELDATA('IF DEPARTMENT GE "200" AND DEPARTMENT LE "299" ')
This example permits a user to access all data from an FCT called PAY and select all records so that departments 1000 through 1999 are chosen:
TSS PERMIT(USR01) FCT(PAY)
ACCESS(ALL)
SELECT('IF DEPT GE "1000" AND DEPT LT "2000" ')
This example revokes access:
TSS REVOKE(USR01) FCT(PAY)
This example permits a user to access all data from an FCT called PAY and select all records so that departments 1000 through 1999 are chosen, but limit user only to update DEPARTMENT 1500:
TSS ADDTO(SDT) SELECT(READDEPT)
SELDATA('IF DEPARTMENT GE "1000" AND DEPARTMENT LT "2000" ')
TSS ADDTO(SDT) SELECT(UPDTDEPT)
SELDATA('IF DEPARTMENT EQ "1500" ')
TSS PERMIT(USR01) FCT(PAY)
ACCESS(ALL)
SELECT(READDEPT,UPDTDEPT)
This example revokes access:
TSS REVOKE(USR01) FCT(PAY)
|
Copyright © 2009 CA Technologies.
All rights reserved.
|
|