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

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

book

Article ID: 44664

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

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

Environment

Release: 8.5-2E-400 Toolkit

Cause

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

Resolution

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.

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