Re: "WAIT" command?!



Dennis Dahn wrote:

Hello,

I am a bloody rookie in Cobol and my program is not very well written,
otherwise I would not have that problem I guess..
Is there something like a "WAIT" command?
at the moment, after a special event, the program stops, because it has
reached the end of the program code.
but it should just wait for the next user interaction. Do you know how I
can do this?


Hmmm...

Maybe ACCEPT?
http://www.csis.ul.ie/COBOL/examples/Accept/ACCEPT.htm

.