Red x on display file

Discussions relating to writing software in ILE RPG (RPG IV). This includes both fixed and free format RPG.
Post Reply
Mike55
Posts: 1
Joined: Fri Dec 15, 2023 6:40 pm

Red x on display file

Post by Mike55 »

Hi,
I have an rpg program that makes use of a display file. When the data is displayed a red X shows bottom left on the telnet session and a ctrl or esc clears it. What could be triggering that in the pgm?
Thanks
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: Red x on display file

Post by Scott Klement »

It typically means some sort of keying error has occurred. Examples might be:
  • Keying text into a position on the screen that's not defined for input.
  • Keying letters into a numeric field
  • Pressing a function key that's not defined for that screen
  • Trying to exit a field that requires the "field exit" key to exit without pressing fieldExit or field+
Those are just examples, there are many other possible keying errors -- if that's even what is happening. Hard to say for sure, since there are many possible explanations, and I surely don't have them all memorized.
Post Reply