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

This method opens the file.

Exception Handling

An Error instance will be thrown with the following properties:

  • message - The message text.
  • error - The message id.
  • help - The message help text.

Example

Open file, read first record, close file
  pjs.defineTable("productsp", { userOpen: true, read: true });
  productsp.open();
  productsp.fetchNext();
  productsp.close()

RPG Equivalent

OPEN

Requirements

This API requires the Profound.js Connector module.