Versions Compared

Key

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

...

getRecord will have the same functionality as the CHAIN operation code in RPG. You may also use 'file.chain()' with the same parameters as this method.

Parameters
  1. Array of keys. Get the next record by key. If the file has no keys, it will default to the RRN.
  2. Boolean noLock. If true, no lock will be created.
  3. String recordName. Record format name.
  4. (Optional) Data strucutre. If a DS is passed in, the recieved buffer from the file will be placed into the specified DS.

...