Previous Topic: Specify Relationship Conditions for a READ ActionNext Topic: Specify READ Exception Logic


Specify System Conditions

The third part of specifying selection conditions for a READ statement is to specify any system conditions. You first specify the system value of the entity being read. CA Gen supplies four system values:

You then specify the relational operator and complete the expression by qualifying any entity action view attributes. You specify any character attributes, character strings, or spaces.

The following example of a READ statement contains a system condition for terminal ID:

READ library
WHERE TERMINAL ID IS EQUAL TO DESIRED library terminal_id