This procedure sets “more” boolean flag in the response. The “more” boolean value is used by paging functionality.
Parameter | Type | Description | |
---|---|---|---|
value | N | Optional | Pass indicatir value to indicate if selected data has more rows. The value wil pe put into control section of response. If the value is not provided the “more” data in control section will be set to true. |
The doesn’t return any value. If programer uses this procedure in program then Aperio will automatically indcate in metadata that control parameter “more” is handled by RPG program.
In some cases it is hard to calculate total number of records in selected table. Table is to big or calculation will take very long time. In this case is better to use “more” flag. After the desired number of rows are put into response programmer can check if there is at least one more record in the selected table. If so then he can use this procedue to indicate that there are more rows.
Examples:
// Assume that more records exists in selected data.
ctlSetMore(*ON);
// The control data "more" in response will be set to true.