Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.
Sloopy | Jun 13 2008 3:32PM GMT
All you need to do is call QUSCMDLN (no parameters) from your program. This will bring up the command line window - the same one you get from SEU when you press F21.
It already has a full F9=Retrieve function, built in.
However, you would have no control over the commands that could be entered. What the user can do from that command line is limited only by their security level and user type.
If you use the RCVMSG method, you want to receive message of type *RQS.
Regards,
Sloopy
Vatchy | Jun 16 2008 4:29PM GMT
If you’re using the display file in RPG then just create an array in which to save the commands.