The program abends with errors:
CPF5192 - Data sent to device ... not valid. Negative response code is 10050126.
RPG1251 or RNX1251 - Permanent I/O error occurred in file ...
Release: 8.5-2E-400 Toolkit
The DSPF of the program has RSTDSP set to *NO; you can check this with DSPFD.
Use CHGDSPF to set RSTDSP to *YES.
The RSTDSP parameter is set when the DSPF is created and the source member has been processed by the 2E Toolkit Compile Pre-Processor.
Check that the DSPF source member has the override RSTDSP(*YES) and that the program and DSPF were correctly created from the 2E model.
Reference:
IBM Support Page: Message CPF5192<Technote (troubleshooting)>