Stream Iterators

Stream iterators are a means of explicitly iterating over all of the records stored in a stream. It is usually more convenient, and safer, to use the for loop mechanism, but stream iterators provide extra flexibility.

Functions for Stream Iterators

Each block of code has implicit variables for streams and stream iterators. If an input stream is named Stream1, there are variables Stream1_stream and Stream1_iterator.

Those variables can be used in conjunction with the following functions.