Page 1 of 1

Red x on display file

Posted: Fri Dec 15, 2023 6:43 pm
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

Re: Red x on display file

Posted: Mon Dec 18, 2023 9:22 am
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.