admin 管理员组

文章数量: 1086019

In a RPGLE I'm receiving information from a PC program, to prompt the program the user has to press Ctrl-Alt-A. Before that can be loaded they use F2 to clear the fields for the data to be entered into, is there a way I can simulate the Ctrl-Alt-A after the F2 clears the fields? A dimension scanner is attached to the PC. When the key sequence ctrl/alt/a is pressed the program sends the dimension to the BOSaNOVA screen that is loaded into the screen fields, look for a way send ctrl/alt/a to the pc.

In a RPGLE I'm receiving information from a PC program, to prompt the program the user has to press Ctrl-Alt-A. Before that can be loaded they use F2 to clear the fields for the data to be entered into, is there a way I can simulate the Ctrl-Alt-A after the F2 clears the fields? A dimension scanner is attached to the PC. When the key sequence ctrl/alt/a is pressed the program sends the dimension to the BOSaNOVA screen that is loaded into the screen fields, look for a way send ctrl/alt/a to the pc.

Share Improve this question edited Apr 1 at 18:22 Curtis Fore asked Mar 28 at 15:24 Curtis ForeCurtis Fore 11 bronze badge 2
  • 1 I don't understand what you're asking. Please clarify. See stackoverflow/help/how-to-ask – Charles Commented Mar 28 at 16:00
  • I'm agree with @Charles, the goal is not clear. – Nifriz Commented Mar 31 at 9:19
Add a comment  | 

1 Answer 1

Reset to default 0

IBM i terminals use the 5250 data stream. These terminals have no Ctrl key, and the also have no Alt key. There are only a handful of keys that return control to the program, these are the Enter key, Roll Up(PageDn), Roll Down(PageUp), and the 24 Command keys. There is also a Clear key, a Help key and a Print key, but they are somewhat special. There is nothing else that you can use, you have to send one of those signals. If you want a prompt program, the standard key for that in the IBM i world is Cmd4(F4).

本文标签: ibm midrangeISeries RPGLE simulate keystrokesStack Overflow