I coded the MONITOR and PSSR in my V5R2 RPG IV program so that I could detect and recover from a battery failure in a scanner device that emulates the 5250 stream. However, the error is diagnostic (CPF4410) and control is not returned to the RPG program and my recovery code is not executed. My goal is to restore contents of data in several data files. Committment control is not an option.
My next step is to change the severity of the message in a copy of the QCPFMSG file to possibly force control back to the RPG program.
Any input would be appreciated.
Jack
My next step is to change the severity of the message in a copy of the QCPFMSG file to possibly force control back to the RPG program.
Any input would be appreciated.
Jack