Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.74 ReadFirstRecord Method

Description:

Reads the first 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.

Example:

INVOKE CmDB1 "ReadFirstRecord"
	RETURNING ReturnValue

Backward compatibility
method name:

None.