SEL-RANGE |
DEVELOPER |
|
|
|
|
Purpose |
SEL-RANGE is used to select a range of records from the primary file (first file defined) for processing. |
|
Syntax |
SEL-RANGE(operand) |
|
Operation |
operand is the name of an alphanumeric or wide scratch variable, or value variable, which contains the concatenated key value. |
|
Remarks |
If SEL-RANGE is used in a Global Logic, and operand is a scratch variable, that scratch variable must be defined in the EXTERN statement. |
|
Example 1 |
Single Element Key - Key Field CUSTNO (length = 8) |
|
Example 2 |
Multiple Field Key - Key Fields STATE-CD (length = 2) and COUNTY-CD (length = 3) |
Topic ID: 520110