By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Is there a way to see if a session has dropped from a COBOL program? We have a Intermec 2415 RF device (basically acts as an emulator) that communicates with an order-picking application (interactive screen program written in COBOL) on the iSeries. Sometimes the RF device looses connection with the iSeries, which leaves our RF order records in an active status. Active status means no other user can access the RF order records for an order because it is assumed another user is picking the order. The only way to fix it is to use a database utility (like DFU) to change the status back to inactive. I would like the program to detect the RF device has dropped and update the records back to an inactive status. This would allow the users to retry picking the order once the RF device is reconnected without having to call support. Any help you can give on this would be greatly appreciated.
I really don't know. The only thing COBOL programs can do is call interfaces provided by other software or interrogate control blocks for bits settings. There has to be something in the system that knows the connection to the RF device is lost, but what that something is and whether that something provides APIs that you can query or control blocks where you can test bits, I just don't know. If I were you, my first step would be to ask the Intermec people about this.