Hi guys,
We have discovered a bug in PxPlus that I wanted to make you all aware of. The DIR=-1 option on a read doesn't work properly when there is a null key record at the beginning of a file. If you create a record in a file like SMMSGS with the first field empty then go into the search and up arrow/page up, you will end up in an infinite loop because PxPlus never reports that you're at the beginning of the file.
This bug could manifest itself in other, unpredictable ways, when DIR=-1 is used on a file that has a single key segment as the primary key.
PxPlus is rejecting this as being a bug. In 9.1.1 we have updated SMC600 to find and avoid the infinite loop, but we do not know where else this could be a problem. If you see an issue elsewhere, please let me know.
Thanks, Tim