This file object method will open the file so the script is able to manipulate records within the chosen file. If you manually open a file, make sure you have a following close when you're finished with the file.You only need to use open if you have defined your file with 'userOpen' as true
getRecord will have the same functionality as the CHAIN operation code in RPG.
Parameters
- Array of keys. Get the next record by key. If the file has no keys, it will default to the RRN.
- Boolean noLock. If true, no lock will be created.
- String recordName. Record format name.
- (Optional) Data strucutre. If a DS is passed in, the recieved buffer from the file will be placed into the specified DS.
...