Errors CPF5192 and RPG1251 (RPG) RNX1251 (RPG ILE) when running 2E generated program

Document ID : KB000044664
Last Modified Date : 12/02/2019
Show Technical Document Details


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 ...



The DSPF of the program has RSTDSP set to *NO; you can check this with DSPFD.



Use CHGDSPF to set RSTDSP to *YES. 


Additional Information: 

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.

IBM Support Page: Message CPF5192<Technote (troubleshooting)>

Please Update This Required Field