Enable/Disable Prompts Option

PURPOSE:  The PROMPTS option controls automatic prompting with field names for any command that allows the WITH PROMPTS option.  The DISABLE PROMPTS command is overridden by the WITH PROMPTS clause in the commands which allow this clause.

SYNTAX

{ENABLE; DISABLE} PROMPTS [{IF; UNLESS} clause]

ENABLE

causes ACCENT R to prompt for each field value by displaying the field name.  This option has the same effect as the WITH PROMPTS option in a command.

DISABLE

turns off prompting with field names.  This is the default state.

{IF; UNLESS} clause

specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect.

EXAMPLE

*DISABLE PROMPTS IF A = 10
*ENABLE PROMPTS

NOTES:  The WITH PROMPTS option is currently available with the ENTER and CHANGE commands.  The PROMPTS option can be used in Command Modules (CM) and Process Modules (PM).

SEE ALSO:  ENTER, CHANGE