Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This method releases a locked record.

Exception Handling

An Error instance will be thrown with the following properties:

  • message - The IBM i message text.
  • error - The message id.
  • help - The message help text.
Examples
Code Block
languagejavascript
titleUnlock record
pjs.defineTable("myfile", { keyed: true, read: true, update: true });
myfile.fetchNext(); // First record locked
myfile.unlock();


RPG Equivalent

UNLOCK