ACCEPT can be used on the console. However, it is not recommended unless you discuss it first with your systems support people as it may be a problem if the operators aren't expecting to interact with your program. In some shops that are lights-out, there's nobody there to respond to a console message so using this method could be useless; sites vary.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Most mainframe batch cobol code is not designed to handle an external interrupt (for the operator or anywhere else). Therer are ways to do this in assembler, but this is usually not done in applicatoin code.
On some systems it is possible to "hang" the job waiting on a reply form the operator. This is disabled on many systems and unacceptable on many systems.
As Robert mentions, it may cause problems for your environment. Suggest you receive permission from the project manager and the coputer operatoins manager before imlementing a process that carries on a dialog with the scheduler/operator.