Command Reference Guide
6 min
commands must follow a specific format, which may vary from 's command language and structure expand the sections below to learn more batch command to run multiple commands simultaneously, use an exclamation point (!) to separate commands case insensitive command text is not case sensitive date format interprets the order of month and day based on your user profile docid\ non0kv5hwhmfayxl0tlke date format setting the year may be two or four digits, and month and day may be one or two digits use a forward slash (/) or period ( ) to separate year, month, and day dates may be specified in any of the following formats yyyy/mm/dd or yyyy mm dd mm/dd/yy or mm dd yy mm/dd/yyyy or mm dd yyyy dd/mm/yy or dd mm yy mm/dd or dd/mm (assumes the current year) | yyyy/m/d or yyyy m d m/d/yy or m d yy m/d/yyyy or m d yyyy d/m/yy or d m yy m/d or d/m (assumes the current year) | for instance, 17, 2019, can be formatted as 2019/09/17, 9 17 19, 9/17/19, or 9/17 if your date format is set to month/day/year 2019/17/09, 17 9 19, 17/9/19, or 17/9 if your date format is set to day/month/year date shortcuts and accommodate date shortcuts to speed up the typing of commands date shortcuts may be used for any date items and work as follows the number is the date in the current month (if or already occurred) the number is a date in the previous month (if not yet occurred) for instance, if you enter mkdat=3, and today is 3, then the results show milk withdrawals ending today if you enter fdat>14 and today is 1, the results include animals with dates of 15 through 1 double quotes double quotes (") are required to identify a string in the command line for instance, coda="test" id the animal is always included in list (show) results, even if not specified in the command sort and condition keyword order sort and condition keywords (by, downby, for) must follow a prescribed order in list (show) and sum commands important list (show) commands require that the for keyword is typed before the by or downby keyword sum commands require that the for keyword is typed after the by or downby keyword multiple conditional items and is implied between multiple conditional items for instance, forlact>0 dcc>220 ddat=2019/07/30 includes all results where the following is true lactation number is greater than zero and days carrying calf is less than 220 days and date is 30, 2019 or conditions use a semicolon (;) to indicate or for instance, pen=1;3;5 includes 1 or 3 or 5 to use compound or conditions, no semicolon (;) is required separate each condition with parenthesis () for instance, for(lact>0 ddat=2019/07/30) (cod1>0 cod2=0) includes results where the following is true lactation number is greater than zero and due date is 30, 2019 or is greater than zero and is equal to zero spacing extra spaces between items are ignored switches in command line, any switches must immediately follow the command word the following switches are currently supported in the specified command(s) switch definition command(s) example \b includes results for both live and dead animals without the switch, command results include live animals only countlist (show)sum list \b id lact dim rpro ardat for fdat> 7 by lactcapture live and dead animal data for recently animals by lactation \d limits results to dead cows only countlist (show)sum count \d for lact=1 ardat> 90capture total number of dead animals in their first lactation in the last 90 days \s sets the calculation to use sample values without the switch, calculates population standard deviation sum sum \s milk pctf pcts lgscc by lact for lact>0analyze sample standard deviation data for milk composition and quality by lactation \z includes zero values in averages and standard deviation calculations without the switch, average, standard deviation, , and calculations include non zero values only sum sum \z tket by lctgp for fdat> 365analyze the number of times was diagnosed by lactation group for all animals that calved in the last year related topics dairy reports/worklists docid 53qa cejz2iszc1x8fz21command line docid 8tcicbllystevg5 ofmd0list (show) command docid 8y5de 4wdbraa7jzxd8mnsum command docid\ jgodnfliemnuvqzzahqvccount command docid\ n6qrxnb8rhlrlc1 rkkg < return to command line overview docid 8tcicbllystevg5 ofmd0