Function Codes and Commands

#### Search Results

Search

# Function Codes and Commands

This section covers the following topics:

- Command Modes

- Function Codes

- Commands

## Command Modes

The Command line appears at the bottom of each screen in Natural Review. It is used to access a specific function and/or to issue a processing command.

Natural Monitor provides a menu structure to help access specific screens and issue related commands. Experienced users of Natural Review often bypass the menu structure by typing a string of function codes on the Command line, in some cases followed by a command.

#### Example:

- Using the menu structure, you can access the Edit Report screen only by first accessing the Response Time Subsystem menu from the Natural Monitor System menu.

- Using a function code string, you can access the Edit Report screen directly from the Natural Monitor System menu:

      RT ER reportname

The tables below list the function codes, PF keys, and commands available within Natural Monitor.

## Function Codes

Valid function codes are listed on menu screens. A string of function codes must reflect the sequence of menu screens for the particular system of Review you are accessing. Refer to the Natural Monitor System Diagram for the specific sequence of function codes.

To access the Natural Monitor system from User Profile System and vice versa, prefix the function code string with the appropriate system code as follows:

- `NM` for Natural Monitor

- `UP` for User Profile Sytem

The following table lists function codes for Natural Monitor:

Function | Code | Description
--- | --- | ---
`RT` | `ER` | Edit report definitions.
`RT` | `EX` | Expanded history list.
`RT` | `LH` | List history reports.
`RT` | `LR` | List report definitions.
`RT` | `LS` | List started reports.
`RT` | `PH` | Purge history reports.
`RT` | `PR` | Purge report definition.
`RT` | `PS` | Purge started report.
`RT` | `PX` | Purge start range.
`RT` | `PY` | Purge end range.
`RT` | `RF` | Refresh started report.
`RT` | `RT` | Display Response Time Subsystem menu.
`RT` | `ST` | Start report.
`RT` | `VD` | View detailed records.
`RT` | `VH` | View graph horizontally.
`RT` | `VT` | View transaction summary.
`RT` | `VW` | View graph vertically.
`SA` | `SA` | Display Summary of Active Users report.
`TE` | `EI` | Environmental information.
`TE` | `HC` | History session control.
`UP` | `EU` | Edit user profiles.
`UP` | `LU` | List user profiles.
`UP` | `UP` | Display User Profile System menu.

## Commands

The following table describes commands used within Natural Monitor.

The `Use` category in the table lists the functions in which the command applies. Subfunctions are separated from the function with a slash (/); multiple subfunctions are separated from each other by a dash (-).

Command | PF Key | Description | Use
--- | --- | --- | ---
`+`, `FWD` | PF8 | Scroll forward one screen. | In several functions.
`-`, `BACK` | PF7 | Scroll backward one screen. | In several functions.
`- -`, `TOP` |  | Position to the top. | In several functions.
`ACALL` | PF7 | Display the average number of database calls issued for each transaction within a specific response time interval or range. | `RT/VH-VW`
`CALLS` | PF5 | Display the total number of database calls issued for the total number of transactions within each specific response time interval or range. | `RT/VH-VW`
`CANCEL` |  | Terminate specified session abnormally. A session may be cancelled by TP user ID, terminal name, or session ID (SID). See below:
    CANCEL U=userid
      CANCEL sid
      CANCEL T=terminalname
| `SA`, `SA/PICK`
`COLOR OFF` |  | Return the terminal display to monochrome. | All
`COLOR ON` |  | Set the terminal display to color. | All
`CURR` | PF2 | Toggle to current data from historical data. | `RT/EX-VD-VH-VW`
`DETAIL` `DET` | `PF5` | Provide detailed information about Natural applications and program usage. | `RT/VT`
`DISPLAY` `DI` |  | Valid versions of this command are:
    DISPLAY ACT
      DISPLAY ALL
The DISPLAY ACT version of the command causes all users except those with status Inactive or Terminate to be displayed. The DISPLAY ALL version causes a list of all users who have invoked Natural to be displayed, regardless of whether they are currently active. | `SA`
`END` | PF12 | End the Review session. | All
`ER` |  | Access the Edit Report screen for a report on the list. | `RT`/all
`EX` |  | List dates and time of historical snapshots. | `RT`/all
`EXIT` | PF3 | Return to the previous screen, or return to a main menu. | All
`FIN` | PF12 | End a Review session. | All
`FORCE` |  | Deactivates Review monitoring for the specified session. It does not affect the Natural session. A session may be forced by TP user ID, terminal name or session ID. Valid versions of this command are:
    FORCE U=userid
      FORCE sid
      FORCE T=terminalname
| `SA`, `SA/PICK`
`HELP` | PF1 | Access the help system. Valid command syntax: `HELP` [command] | All
`HIGH` | PF7 | Display The Highest 20 window from the Summary of Active Users display. | `SA`
`HIST` | PF2 | Access historical data. | `RT/VD-VH-VW`
`HORI` | PF10 | Display a horizontal graph. | `RT/VW-VH`
`LEFT` | PF10 | Scroll display left one screen. | `RT/VD`, `SA/PICK/NCT`, `SA`
`LFILE` |  | Display and change `LFILE` settings. | All
`LOGO` |  | Display the logo screen. | All
`LOW` | PF6 | Display The Lowest 20 window from the Summary of Active Users display. | `SA`
`MENU` | PF12 | Return to the Natural Monitor main menu. | All
`MSG` |  | Display an extended error message online. Example: `MSG REV00001`, `MSG1` | All
`NCT` | PF9 | Display the Natural call table listing programs accessed by user's last or current transaction. | `SA/PICK`
`NEXT` |  | Go to the next time interval of historical data. | `RT/LH/VD-VH-VW`
`NEXT` | PF8 | Display the next user from a list of users on the Summary of Active User's screen. | `SA/PICK`
`PH` |  | Purge a historical snapshot | `RT/LH-LR-LS-EX`
`PICK` | PF9 | Select one of the following for display: database, buffer pool display, transaction, user ID. | `RT/VD, SA, SA/HIGH-LOW`
`PR` |  | Purge a report definition | `RT/LR-LS`
`PREV` |  | Go to the previous time interval of historical data. | `RT/LH-VD-VH-VW`
`PS` |  | Purge a started report. | `RT/LR-LS`
`PX` |  | Purge start range. | `RT/LH-LR-LS/EX`
`PY` |  | Purge end range. | `RT/LH-LR-LS/EX`
`QUIT` | PF12 | End the Review session. | All
`REFRESH` | PF9 | Refresh the Natural call table display with updated information. | `SA/PICK/NCT`
`RESET` |  | Reset all transaction and database statistic fields to zero and release all unused RUAB storage. | `TE/EI`
`RF` |  | Restart a started report. | `RT/LR-LS`
`REVPROD` |  | Display version number of all subsystems being used in this session of Natural Review. | All
`RIGHT` | PF11 | Scroll display right one screen. | `RT/VD`, `SA/PICK/NCT`, `SA`
`SAVE` | PF5 | Save report or other data | `RT/ER`
`ST` | PF6 | Start report or simulation. | `RT/ER`
`START` |  | Start the Natural Monitor history session. | All
`STERM` `SORTTERM` |  | Sort users in ascending order by terminal name. | `SA`
`SSID` `SORTSID` | PF5 | Sort users in ascending order by SID. | `SA`
`STOP` |  | Terminate the Natural Monitor history session. | `TE/HC`
`SUM` `SUMMARY` | PF6 | Summarize transactions; does not display detailed Natural program data. | `RT/VT`
`SUSER` `SORTUSER` | PF4 | Sort the Summary of Active Users display by user ID. Use: `SA` | PF4
`TERM` `TERMNAT` |  | Terminate specified session normally. A session may be terminated by TP user ID, terminal name, or session ID. The command format is the following: `TERMNAT U=userid` `TERMNAT sid` `TERMNAT T=terminalname` | `SA`, `SA/PICK`
`TOGGLE` |  | Switch between current and history report data. | `RT/VD-VH-VW`
`TOP` |  | Return to the top of the display. | `RT/EX-LH-LR-LS-VD-VT`, `SA`
`TRANS` | PF4 | Display response times, for transactions, in vertical or horizontal graph. (system default) | `RT/VH-VW`
`VD` |  | Display detailed records for a report. | `RT`/all
`VERT` |  | Display a vertical graph. | `RT/VH-VW`
`VH` |  | Display a horizontal graph. | `RT`/all
`VT` |  | Display a transaction summary. | `RT/LR-LS`
`VW` |  | Display a historical snapshot or vertical graph. | `RT`/all

### On this page

- Command Modes
- Function Codes
- Commands