file.endOfData()



This method returns a specific database file's end of file state.

Return Value

A Boolean value indicating the end of file state.

Example

Conditional logic using end of file state
myfile.fetchNext(); if (!myfile.endOfData()) doSomething();

RPG Equivalent

%EOF(file_name)

Requirements

This API requires the Profound.js Connector module.