file.equal()
This method checks for an exact match after a call to file.positionTo() on a specific file.
Return Value
A Boolean value indicating whether/not an exact match was found.
Examples
Conditional logic using exact match state
myfile.positionTo(["keyVal1", "keyVal2"]);
if (myfile.equal())
doSomething();
RPG Equivalent
%EQUAL(file_name)
Requirements
This API requires the Profound.js Connector module.
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!