The set first
statement is used, like the locate
function, to find a specific case in a data file. The case pointer is positioned to the first case. Cases are processed in ascending key order, so the "first case" is not necessarily the first case in the file. To load the case into memory, use the the retrieve
function or the loadcase
function without parameters.
refers to either an external dictionary or the main input file of a batch application. If referencing the main input file of a batch application, you must run your program in indexed order
. Using this statement with the main input file of a batch application allows you to pass through the same data file more than once in a single run of a batch application.