Previous Topic: FOR NEW Statement (SQL Access)Next Topic: FOR EACH/FIRST/ANY Statement (Sequential Files)


FOR Statement (Sequential Files)

The FOR statement is used for reading and updating sequential files. The FOR construct begins with a FOR and ends with an ENDFOR.

To retrieve data from a file, you must first define a CA Ideal dataview for the data. The dataview defines the record available to the application.

You can use the following FOR statements for sequential files:

These statements are described in the next section. For more information about CA Ideal dataviews, see the Creating Dataviews Guide.