Error RPG1255 caused program to stop.
search cancel

Error RPG1255 caused program to stop.

book

Article ID: 436479

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Editing the screen for a DSPFIL type function set to a *DS4 (27/132) screen layout causes a crash when using F4 to scroll to the right or when reaching the end of the subfile record.

These are new RP4 *Module functions created on CA 2E release 8.7.4 (1690)

Attempts to resolve the crash by changing the function generation type to RPG or RP4 *PGM were unsuccessful.

Error screens indicate:

Data sent to device XXXX not valid.  Device response code 10050122.

Error RPG1255 caused program XXXX to stop.  

Environment

CA 2E release 8.7.4 (Build 1690)

Resolution

Suggested workaround:

  1. Open the Function Options screen for the affected function.
  2. Change the Subfile end parameter from "Text" to "Plus".
  3. Complete the screen design and layout work (scrolling will now function without crashing).
  4. Once design is finished, and immediately before generation, switch the Subfile end back to "Text".
  5. Generate and compile the function to maintain the desired "Text" output at runtime.

Additional Information

As of present writing (April, 2026), a long term fix to address the above scenario is in progress.  The functionality involved goes well into the core baseline code for 2E, and requires careful testing of the code base in order to ensure any long term solutions do not interfere with the intended product operability.