pjs.endOfData()
Â
This API returns the end of file status set by the most recent file operation.
Return Value
A Boolean value indicating the end of file status set by the most recent file operation.
Example
myfile.fetchNext();
if (!pjs.endOfData())
doSomething();
RPG Equivalent
%EOF()