The AtEnd built-in Data Set method returns whether the last member of the set has been accessed in the current iteration. It is intended for use within ForEach logic statement loops. However, the behavior of AtEnd built-in Data Set method is not same for all the dataset types.
Syntax
<<datasetInstance>>::AtEnd(void) : Boolean
Owner
Any data set.
Return type
A boolean that specifies whether the last set member has been accessed.