numrecords

A predefined variable which holds the number of records in a file.

Syntax

numrecords

Comments

The predefined variable can be used both to set and to access the number of records in the current file.

If this value is not set explicitly in the Header block of the template program, Import will try to count them for the user. This process can be slow if the assume linear option is not in force.

Example

set numrecords = 10000  // set it