Ca allows functions to be built over the Physical Access path, by default, it uses a RRN internally.
Create a PMTRCD as the base for a test function. define your file a a parameter, and its fields aas ‘N@ parameters.
Visit the screen, and show whatever bits of record make sense, add an input field of RRN.
At the ‘user defined calc’ make a rtvobj over the Physical access path and give it the RRN,
place the return values onto the screen.
Set *Confirm to no so you can keep going around and around.
- Mess with the code and debug if necessary until it gets the data you want.
- incorporate to a real function.