Using RPG IV, I wrote a barcode scanning program that updates a file and displays a record in a subfile.
Problem: When two users are accessing the program at the same time, record locks occur. Tried using unlock after update of file, but subfile displays same record on screen for both users instead of the two different records that were processed. The file however, is updated correctly with each user's scan.
I need the subfile to reflect each user's scans, and not display same record.
Thanks for any help!
Problem: When two users are accessing the program at the same time, record locks occur. Tried using unlock after update of file, but subfile displays same record on screen for both users instead of the two different records that were processed. The file however, is updated correctly with each user's scan.
I need the subfile to reflect each user's scans, and not display same record.
Thanks for any help!