LIST (SHOW) Command

The LIST (SHOW) command generates a DairyComp report that matches your command conditions. In Platform Command Line, LIST and SHOW are interchangeable commands. In DairyComp, the LIST command may be used to print the report, while SHOW displays the report on the screen.

The LIST command is a flexible and useful command that can be used to generate reports to assist you with a variety of tasks, including the following examples:

LIST command syntax is spelled out using the examples below:

IMPORTANT: LIST (SHOW) commands require that the FOR keyword is presented before the BY or DOWNBY keyword.

 

1

Command (required): DairyComp command.

2

Switch(es): control the results returned by modifying or limiting the command to specific data. The following switches are supported for LIST (SHOW) in the current Platform release: 

Switch

Definition

\B

Includes results for both live and dead animals. Without the switch, command results include live animals only.

\D

Limits results to dead cows only.

 

3

Display items (required): Items to display as columns in the report. For instance, PEN LACT DIM MILK.

For a complete listing of standard items, see DairyComp Standard Items. Because items are customizable in DairyComp, your dairy may have additional items. View the Item Definitions Page for all items available for your dairy.

4

Condition filter: Filter for the command. Available filter: FOR.

5

Conditional item(s): Item conditions that must be matched to be included in the results. The following conditional operators may be used:

Operator

Definition for numeric and date values

Definition for string values

=

equal to

equal to

<>

not equal to

not equal to

>

greater than

contains

>=

greater than or equal to

-

<

less than

does not contain

<=

less than or equal to

-

5

Sort type: Controls the order in which report items display. Available sort types:

Sort Type

Definition

BY

Ascending sort (low to high, A - Z, or earliest to latest)

DOWNBY

Descending sort (high to low, Z - A, latest to earliest)

6

Sort item: Item by which to sort. The sort item can be any of the display items included in the command.

Copyright © VAS 2019 | EUSA Agreement | Privacy Policy | Trademarks | Return to Online Help Home | Contact Us

Last Built: November 06, 2019