870-MODIFY-PREV-<Index>

Name

870-MODIFY-PREV-<Index>

Description

Once you have defined a position in the file with a successful 850-MODIFY-NLT-<Index> , use 870-MODIFY-PREV-<Index> to process the record previous to the current position. This routine reads the record preceding the current record for this index and prepares it for updating by 820-STORE-<FileName> .

Using the API in a Program

You must precede 870-MODIFY-PREV-<Index> with 850-MODIFY-NLT-<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) You must populate the index key fields used to locate the record before using this call.

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.