pjs.found()
This method indicates whether or not a record was found by a prior call to file.getRecord(), file.positionTo(), file.positionAfter(), or file.delete(searchArgument).
Return Value
A Boolean value indicating whether/not a record was found.
Example
pjs.defineTable("myfile", { keyed: true, read: true });
myfile.getRecord(100);
if (pjs.found())
doSomething();
RPG Equivalent
%FOUND()
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!