Previous Topic: Parentheses with SELDATANext Topic: Examples: SELECT keyword


SELECT Keyword—Record Control

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(selname) 
               DESCRIPT(descriptname)
               SELDATA('IF [NOT] selexpression [AND|OR] selexpression')
sel‑name

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

descript‑name

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)
Capacity of list

One SELECT statement per TSS command

selread

Specifies the SDT SELECT record used as the selection process file accesses of READ and BROWSE.

selwrite

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.

selin

Can have an access level of: READ, BROWSE

selout

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)
selin

Specifies the input select record.

selout

Specifies the output select record.

Note: It is not necessary to have both an input and output record for a SELECT statement.

Capacity of list

One SELECT statement per TSS command

This keyword is used with: