Working with an entire data set (DSEB only) or per record

Except for the DSEB function, the REXX statements that you supply are run against each input record in sequence, either until the end of the input data set is reached, or until a RETURN STOP (or RETURN STOP IMMEDIATE) statement is executed. However, the REXX statements you supply with a DSEB function are run only once, for the entire input data set. In the REXX statements for a DSEB function, you can use various external REXX functions (described later in this chapter) to move between records in the input data set.