850-MODIFY-SUBRNG-<Index>
Name
850-MODIFY-SUBRNG-<Index>
Description
850-MODIFY-SUBRNG-<Index> performs similarly to the 850-MODIFY-BEGRNG-<Index> , but it allows for more precision in defining the range, because it lets you specify beginning and ending values on the last key field defining the range.
Using the API in a Program
850-MODIFY-SUBRNG-<Index> must be paired with 860-MODIFY-NXTRNG-<Index> .
You must populate the delimiting DB
fields and WS-DB-BEG-RNG
before using 850-MODIFY-SUBRNG-<Index>
.
Input Values
Field | Description |
---|---|
<Index> |
You must specify the database index name that you want to create a record in. |
Record retrieval variables (also known as DB
fields)
|
Define the beginning and ending values of the last key
by moving the appropriate values to the record retrieval fields named DB-
<KeyFieldName>.
|
WS-DB-SUB-RNG |
Move the symbolic constant <IndexName>-<IndexFieldName> to the field WS-DB-SUB-RNG in order to tell the interface which key is the last significant one defining the range. The symbolic constant is numerically equivalent to the position of the named field in the Index. |
Return Values
Field | Description |
---|---|
<FileName>-SW |
The Modify routines set the <FileName>-SW switch to indicate the outcome of the read. This routine sets the logical value <FileName>-NOTFOUND or <FileName>-FOUND based on the outcome of the read process. |