Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.77 ReadPreviousRecord Method

Description:

Reads the previous record. CursorType property must be set to a value other than "0 - SQL_CURSOR_FORWARD_ONLY".

Used in controls:

DB Access

Used in objects:

None.

Parameters:

None.

Return value:

VT_I4 - ReturnValueS9(9) COMP-5

1 indicates normal completion.
Zero means that the record does not exist. Negative indicates an error.

Examples:

INVOKE CmDB1 "ReadPreviousRecord" RETURNING ReturnValue

Backward compatibility
method name:

None.