Page tree
Skip to end of metadata
Go to start of metadata

This method returns the current file status code.

Return Value

A Number value set to the status code resulting from the most recent operation on the file.

Examples

Retrieve file status code
  myfile.getRecord(100);
  if (myfile.status() === 12) // Record not found
    doSomething();
     

RPG Equivalent

%STATUS(file_name)

Requirements

This API requires the Profound.js Connector module.

  • No labels