35 pts.
 Falshing output screen!!
Hi, When i try to call a compiled RPGLE program : *************** Beginning 001.00 /free 002.00 dsply 'hello'; 003.00 *inlr= *on; 004.00 /end-free No errors their but fast output screen appear to disply "hello" then goes . want it to stay until i click enter!! Can any body help in this issue? Thx

Software/Hardware used:
ASKED: June 30, 2009  6:33 AM
UPDATED: July 2, 2009  7:10 PM

Answer Wiki:
Specify a result field on the DSPLY statement and that'll fix Your problem! May be You can't use FREE no longer, I'm not sure ... --------------------------------------------------------------------------------------------------- Good first project. Display is intended for a test tool not for a user communication. 1. Create a display file (MYDISPLAY) and compile it A* display file type DSPF A R DSP1 A 5 10 'Hello' 2. Modify your program and compile it. F MYDISPLAY CF WORKSTN 001.00 /free 002.00 EXFMT DSP1 003.00 *inlr= *on; 004.00 /end-free Phil ////////////////////////////// Example from RPG manual /free // Display prompt and wait for response: dsply prompt '' result; /end-free Just replace prompt with 'Hello'. Regards, Wilson
Last Wiki Answer Submitted:  July 2, 2009  7:10 pm  by  philpl1jb   44,190 pts.
All Answer Wiki Contributors:  philpl1jb   44,190 pts. , WilsonAlano   2,385 pts. , Jgsnsbt   30 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

since you have a “MESSAGE” operand, you can add a field to the “RESPONSE” operand. The system will wait for a response.

 1,245 pts.