AUTO command

Use the AUTO command to refresh values displayed in panels without having to press Enter. When you activate auto-display mode, the displayed values are updated periodically, as specified by the AUTO command. You cannot perform any other tasks with your Online Monitor session while auto-display mode is running.

The command syntax is:
Figure 1. Syntax of the AUTO command
Read syntax diagramSkip visual syntax diagramAUTOintegerSECONDSMINUTES

Parameters of the AUTO command

The AUTO command accepts the following parameters:
integer
Optional. Specifies the auto-display interval. The valid ranges are:
  • 1 to 7 200 seconds
  • 1 to 120 minutes
SECONDS
Optional. Specifies the auto-display unit in seconds. If no unit is specified, the default is seconds. If this parameter is specified, integer should also be specified.
MINUTES
Optional. Specifies the auto-display unit in minutes. If this parameter is specified, integer should also be specified.

If no parameters are specified, the values in the Auto Display window are used.

Starting Auto Display mode

To start Auto Display mode, type AUTO, followed by any parameters, on the command line and press Enter. The AUTO command can be abbreviated to AUT, the SECONDS to S, and the MINUTES to M.

To stop Auto Display, press the attention key.

Note: While the Online Monitor is executing a DB2® call (IFI or SQL), pressing the attention key might not stop the auto-display mode. An ‘A’ is displayed every time the key is pressed until attention processing is available again. For example, this is the case when the Online Monitor is issuing SQL statements to resolve names of locked resources.

Examples of the AUTO command

  • AUTO 5 refreshes the panel with updated values every 5 seconds
  • AUTO 1 MIN refreshes the panel with updated values every minute
  • AUTO 10 refreshes the panel with updated values every 10 seconds
  • AUTO uses the values specified in the Auto Display window