The action reads one or more lines of the result of an SQL command prepared by the SQL_PREPARE action and optionally parameterizedby the SQL_BINDIN action.
The action reads given number of rows and assigns their values to the local variables specified by the SQL_PREPARE action. MaxRowsIdent_Int is to be used only for the 3rd declaration type of the action SQL_PREPARE. If the value of the parameter is other than 1 for the declaration types 1, 2, or less than 1, the action generates the error _ERR_RANGE_ERROR. The maximum number of returned rows is limited by a Database configuration parameter Maximum returned rows. If the number of available rows exceeds this limit, the local structure _locVarRecordIdent specified as the parameter of action SQL_PREPARE will contain first Maximum returned rows and retCodeIdent_Int will be set to error code _ERR_DATABASE_ROWS_LIMIT.
If no row has been read, the value of the parameter retCodeIdent_Int is 22 (_ERR_NO_DATA).