Skip to main content

Problem:

When using the compiler directive RM"ANSI" to enable support for RM/COBOL source programs the default behavior of the ACCEPT statement is to sound an audible BEEP. This is the default behaviour for RM/COBOL programs and we would like to turn it off, how can this be done?

Resolution:

The BEEP can be prevented in two ways:


  1. Add the NO BEEP option to the ACCEPT statement. This is tedious for large programs.
  2. Use the (currently) undocumented compiler directive RM(NOBEEP), i.e.

$set RM(NOBEEP)

Incident Number: 2349342

Old KB# 14613