ReadRecords (Dataset function)
Read multiple records from this dataset (Dataset class)
This page is under construction.
%sl = dataset:ReadRecords[( [Max= number], [Min= number])]
|%stringlist||A Stringlist object variable to receive the blocks of data.|
|dataset||A reference to an instance of a Dataset object.|
|Max||This is an optional, name required, numeric argument that sets an upper limit for the number of records to be read in by the method. Assuming that this limit can be accommodated by the CCATEMP resources of the job, the Count method against the target Stringlist object after the ReadRecords invocation completes will return the same value as the Max setting.
The default limit is to read all the records from the input dataset.
|Min||This is an optional, name required, numeric argument that sets a minimum number of records to be read via the method. If this minimum number of record reads is not achieved, the request is cancelled with:
MSIR.0752: ... too few records available to meet requested minimum
There is no default minimum value.