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
1 Answer
Reset to default 0IBM 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
版权声明:本文标题:ibm midrange - ISeries RPGLE simulate keystrokes - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744028694a2521101.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论