LINC/MON Command Reference Summary

All System Monitor commands are listed in the following subsections in alphabetic sequence. Valid abbreviations are shown in parenthesis. Optional parameters are enclosed in square brackets.

For each relevant monitoring mode, enter these commands in the Action property on Page 1, or from the Home position on Page 1 or Page 2.

AGAIN (A)

Modes:

All

Function:

Recalls parameter entry screen

When to use:

When resetting monitor parameters

BACK (B)

Mode:

View

Function:

Displays the Log record immediately preceding the current record displayed

When to use:

To select previous records in the log file

BOTH (BO)

Mode:

Monitor

Function:

Displays both subsystem graphs and totals

Description:

Only available when more than 5 subsystems are being monitored. Graphs are displayed on page 1 and totals on page 2. If either GRAPH or TOTALS has been previously entered, the BOTH command initiates displaying of both Graphs and Totals.

BYE (BY)

Modes:

All

Function:

Terminates LINC/MON

CHANGE (C)

Modes:

View and Inquiry

Parameters:

log-file

This is the log file number to be selected, and is in the range 1 through 998 (leading zeros are not required).

Function:

Selects a new log file

Description:

If no log file number is entered, monitoring changes to the next log file in numerical sequence.

CONTROL (CO)

Modes:

View and Inquiry

Function:

Displays Control File information

DISPLAY (DI) (D)

Mode:

View

Function:

Displays data values for that transaction, in screen layout sequence.

Description:

Only valid if the record is a transaction

DISPLAY (DI) (D)

Mode:

Inquiry

Function:

Display log records that satisfy specified criteria. Shows both Ispec attributes and actual values for the transaction logged.

Syntax:

DISPLAY ispec item AT condition

Syntax Values

Values in the syntax of the DISPLAY command are contained in the following table.

Value

Description

ispec

Ispec name.

item

Valid attribute name to be displayed. Maximum of 5 names might be entered (separated by spaces). If none are entered, all Ispec attributes are displayed, together with actual values for the transaction found.

condition

Refer to Condition Syntax following the table.

Condition Syntax

A condition condition consists of multiples of the following syntax:

 item [ NOT ] operator value [ continue ]

Value

Description

item

A attribute in the Ispec that the following condition is to apply to.

operator

One of =, <, or>.

value

A numeric value, or an alphanumeric literal of the current type, and enclosed in double quotes ("). An alphanumeric value must be an exact match with the data actually transmitted. For example, a 4-digit numeric property might contain "09" if 9 was entered.

continue

Include AND or OR if additional comparisons are to be included.

Examples

DI SALE AT BRANCH = "NOTOWN" OR AMOUNT > (1000)

Finds the first SALE Ispec transaction with a BRANCH value of NOTOWN or an AMOUNT value over 1000.

D PAY SNAME DEPT HOURS AT DEPT NOT = "HQ" AND HOURS < (40)

Displays the values of SNAME, DEPT, and HOURS for the first PAY Ispec transaction with a DEPT value other than HQ and with an HOURS value less than 40.

END

END

Mode:

All

Function:

Terminates LINC/MON

FIND (F)

Mode:

View

Function:

Finds and displays the first occurrence in the file of a record for a specific Ispec or station.

Parameters:

type, which has values I for an Ispec, and S for a station.

name Name of the Ispec or station. Must follow type.

FIND LAST (F L)

Mode:

View

Function:

Finds and displays the last record in the file for the Ispec or station last specified in a FIND command.

FIND LAST Ispec (F L I)

Mode:

View

Function:

Finds and displays the last record in the file for the specified Ispec

FIND LAST STATION (F L S)

Mode:

View

Function:

Finds and displays the last record in the file for the specified station

FIND NEXT (F N)

Mode:

View

Function:

Finds and displays next file record after that currently displayed for the Ispec or station last specified in a FIND command.

GRAPH (GR)

Mode:

Monitor

Function:

Displays only subsystem graphs

Description:

Only available when more than 5 subsystems are being monitored.

Graphs are displayed on Page 1 and Totals on Page 2.

By entering this command, graphs only are displayed, on Page 1.

Also, refer to BOTH and TOTALS.

Ispec (I)

Mode:

View and Inquiry

Function:

Displays Control File information about all Ispecs in the application, or if an Ispec parameter entered, for that Ispec only.

Parameter:

ispec Ispec name. Optional.

LAST (L)

Mode:

View

Function:

Displays the last record in the file.

MIX

Mode:

Monitor

Function:

Changes the monitor mix.

Parameter:

option, which can have the value Y (display system events), or N (do not display system events).

NEXT (N)

Mode:

View

Function:

Displays the record in the file next to the one being displayed. Transmitting a space achieves the same result.

QUIT (Q)

Mode:

All

Function:

Terminates LINC/MON

REFRESH (REF)

Mode:

All

Function:

Displays the heading screens for the current mode.

RETRY (R)

Mode:

View

Function:

Closes and reopens the file.

Description:

When viewing records, if a message is displayed stating that you have passed the current end of file, use the RETRY command to ensure you have accessed the full file.

SAME (S)

Mode:

View

Function:

Redisplays the current record.

SHOW (SH)

Mode:

Inquiry

Function:

Displays attribute.

Syntax:

SHOW ispec [item]

Parameters:

ispec, which is a valid Ispec name.

item, which is a valid attribute for that Ispec. Optional.

Description:

If item is not specified, displays EDIT and LENGTH properties of all attributes in the nominated Ispec. If item is specified, displays all properties for the nominated attribute.

If the display requires more than one page, any entry causes the next page to be displayed.

STORE (ST)

Mode:

All modes

Function:

Stores your current LINC/MON parameters on disk.

Parameter:

file, which is the name of file on disk in which to store the parameters. Optional.

Description:

If file is not specified, the parameters are stored in the file NGEN28/MON/ PARAMETERS under the running usercode and family pack.

TOTALS (TO)

Mode:

Monitor

Function:

Displays only subsystem totals.

Description:

Only available when more than 5 subsystems are being monitored.

Graphs are displayed on Page 1 and totals on Page 2.

By entering this command totals only are displayed, on Page 1.

Also, refer to BOTH and GRAPH.

TYPE

Mode:

Monitor

Function:

Changes the transaction source.

Parameter:

source, which can have the value T (terminal transactions only), or A (all transactions).

WAIT

Mode:

Monitor

Function:

Changes the time period to the number of seconds specified in seconds.

Parameters:

seconds, a number in the range 1 through 240 seconds

Hint:

If you choose a low number of seconds, it might take longer than the specified wait time to display the monitor information.

pivot number

Mode:

View

Function:

Displays the record with this pivot number.

Description:

A pivot number contains ten digits, but only enter the last seven. Leading zeros not required.

Example:

To display record 001-000003-4, enter 0000034 or simply 34.

space

Mode:

View

Function:

Displays the record in the file next to the one being displayed. (Same as NEXT)