Previous Topic: Step 1: Assigning a Security Name to a TableNext Topic: WHERE Criteria Considerations


Step 2: Associating a User and WHERE Criteria with the Security Name

To restrict access to the table by Forrest and prevent him from viewing salary information exceeding $50,000, Fran Snell wants to specify WHERE criteria. If no criteria are specified, Forrest will be able to view the entire APPLICANT table including all the salaries.

To enter WHERE criteria for the table, perform the following steps:

  1. Type RLOD in the screen name field of any screen and press [Enter] to access the Load Data option for the SRT:

    CA PF1 = ADD;PF2 = CHANGE;PF3 = DELETE;PF4 = VALIDATE;ENTER = NEXT;CLEAR = EXIT $SECURITY-RUNTIME-TABLE$ GROUP USER OWNER SECURITY-NAME STATUS WHERE-CLAUSE

    Specify the following information on the RLOD screen:

  2. Press [PF1] to add the row.
  3. Press [PF4] to validate the entry:

CA NO ERRORS ON VALIDATION $SECURITY-RUNTIME-TABLE$ GROUP USER OWNER SECURITY-NAME STATUS WHERE-CLAUSE