How to Export Your Herd File from DairyComp 305
A step-by-step guide to exporting your herd data for interstate movement preparation. Save 30-60 minutes of manual data entry for your next CVI.
Disclaimer: DairyComp 305 is a product of Valley Agricultural Software. Therio, Inc. is not affiliated with, endorsed by, or partnered with Valley Agricultural Software. Menu paths, commands, and export options may vary by DairyComp version. Consult the DairyComp 305 help documentation or Valley Ag Software support for version-specific instructions. See our Terms of Use for full disclaimers.
Why You Need a Herd Export
When you prepare for an interstate cattle movement, your veterinarian needs animal-level data to complete the Certificate of Veterinary Inspection (CVI). For each animal on the shipment, the CVI requires breed, sex, age or birth date, and official identification (840 RFID number). For a shipment of 20 or more animals, gathering this information manually is time-consuming and error-prone.
DairyComp 305 (commonly called DC305) is the most widely used herd management software for dairy operations in the United States. It already stores the data your vet needs: cow numbers, names, breeds, birth dates, lactation information, status, and — if entered — 840 RFID numbers (EID).
Exporting this data to a CSV file saves 30 to 60 minutes of manual entry per movement. Instead of reading tag numbers off a list and typing them into a CVI form, you export the file once and upload it to a tool that organizes everything automatically.
The exported file can be uploaded directly to Therio's free Movement Prep Tool, which parses the data, identifies animals missing 840 RFID numbers, and organizes the information your vet needs for the CVI — all without any data leaving your computer.
What Data to Include
Essential Columns
At minimum, include the following items in your export:
- ID (cow number) — the farm management number used to identify the animal on your operation.
- NAME — the animal's name, if assigned.
- BRD (breed) — breed code (HO = Holstein, JE = Jersey, etc.).
- BDAT (birth date) — the animal's date of birth.
- LACT (lactation number) — current lactation number.
- STAT (status) — current status code (M = milking, D = dry, S = sold, etc.).
- EID (electronic ID) — the 840 RFID number, if recorded in DairyComp.
- SEX — sex of the animal.
Optional but Useful Columns
- DIM (days in milk) — useful for identifying lactating vs. dry animals.
- FDAT (fresh/calving date) — date of most recent calving.
- SIRE — sire identification, useful for breed verification.
- DAM — dam identification.
- REG (registration number) — breed association registration number, if available.
Step-by-Step Export
DairyComp 305 offers several methods for exporting animal data. The following are the most commonly used approaches. Menu paths and command syntax may vary by DairyComp version — consult the DC305 help documentation for version-specific details.
Method 1: COWFILE Command
The COWFILE command is the most common way to export a complete animal file from DairyComp 305:
Open DairyComp 305
Launch the DairyComp 305 application and ensure you are connected to the correct herd database.
Type COWFILE at the command line
At the DairyComp command line (the input area at the bottom of the screen), type COWFILE and press Enter. This opens the cow file export dialog.
Select animals
Choose which animals to include. You can export all animals, or filter by status (e.g., only milking cows, or only animals in a specific pen). For interstate movement prep, export all animals that may be part of the shipment.
Choose CSV format
When prompted for the output format, select CSV (comma-separated values). This produces a file that works with the Movement Prep Tool, Excel, and most other software.
Select columns
Choose the data items to include. At minimum, select: ID, NAME, BRD, BDAT, LACT, STAT, EID, SEX. Add DIM, FDAT, SIRE, DAM, and REG if available and useful.
Save the file
Choose a save location on your computer (e.g., Desktop or Documents folder) and give the file a descriptive name like herd-export-2026-05-23.csv. Click Save.
Method 2: LIST Command
The LIST command provides more control over the output format and is useful for custom reports:
At the command line, type a command like:
LIST ID NAME BDAT LACT DIM STAT EID BRD SEX FOR ALLThis generates a report with the specified items for all animals. From the resulting report, you can typically export or save to a file. The exact save/export process from a LIST output may vary by DairyComp version.
Method 3: Export Menu
Some versions of DairyComp 305 include a graphical export option through the File menu or a dedicated Export menu item. Navigate to File > Export (or similar) and follow the on-screen prompts to select animals, columns, and output format. Consult the DairyComp 305 help documentation for your specific version.
Choosing the Right Format
DairyComp 305 can export data in several formats. Here is what you need to know about each:
- CSV (comma-separated values) — Recommended. The most widely compatible format. Works with the Movement Prep Tool, Excel, Google Sheets, and virtually all data tools. Columns are separated by commas, one row per animal.
- Tab-delimited — Also works with the Movement Prep Tool. Columns are separated by tab characters instead of commas. Some users prefer tab-delimited when animal names or other fields contain commas.
- Fixed-width — Not recommended for import into other tools. Each column occupies a fixed number of characters. Harder to parse and more prone to alignment issues. Use only if specifically required by another system.
Therio's Movement Prep Tool accepts both CSV and tab-delimited formats. If in doubt, choose CSV.
What the Columns Mean
DairyComp 305 uses abbreviated column names (called “items”). Here is a quick reference for the most commonly exported items:
| Column | Full Name | Description |
|---|---|---|
| ID | Cow Number | Farm management number (barn number) |
| NAME | Cow Name | Animal's name (may be blank) |
| BDAT | Birth Date | Date of birth (format varies by DC305 setup) |
| LACT | Lactation | Current lactation number (0 = heifer) |
| DIM | Days in Milk | Days since most recent calving |
| STAT | Status | M = milking, D = dry, S = sold, H = heifer |
| EID | Electronic ID | 840 RFID number (15-digit) |
| BRD | Breed | HO = Holstein, JE = Jersey, BS = Brown Swiss, AY = Ayrshire, GU = Guernsey, XX = crossbred |
| SEX | Sex | F = female, M = male |
Uploading to the Movement Prep Tool
Once you have exported your herd file from DairyComp 305, you can upload it to Therio's free Movement Prep Tool to organize the data for your CVI.
Go to the Movement Prep Tool
Navigate to theriodairy.com/tools/movement-prep in your web browser.
Upload your CSV file
Click the upload area or drag and drop your exported CSV file. The file is parsed instantly in your browser.
Review the parsed data
The tool displays your animals in a table with breed, birth date, sex, and 840 RFID number. Animals missing 840 RFID numbers are flagged automatically so you know which animals need to be tagged before the movement.
No data uploaded to any server
The Movement Prep Tool processes your file entirely in the browser using client-side JavaScript. No animal data is transmitted to or stored on any server. Your herd data stays on your computer.
Troubleshooting
If you encounter issues uploading or parsing your exported file, here are common causes and solutions:
File won't parse
Check the file format. The Movement Prep Tool expects CSV or tab-delimited format. If the file was saved as fixed-width or another format, re-export from DairyComp 305 as CSV. Also verify the file has a header row with column names (ID, NAME, BRD, etc.).
Missing columns
If the tool reports missing columns, re-export from DairyComp 305 and make sure you selected all required items (ID, NAME, BRD, BDAT, LACT, STAT, EID, SEX) during the export process.
Missing EID (840 number)
If the EID column is present but empty for some animals, those animals do not have 840 RFID numbers recorded in DairyComp 305. This does not necessarily mean the animal lacks a physical tag — the number may simply not have been entered into the software. Verify the physical tag and enter the number into DairyComp before re-exporting. The Movement Prep Tool flags animals without EIDs so you can address them before the vet visit.
Date format issues
DairyComp 305 may export dates in various formats (MM/DD/YYYY, M/D/YY, etc.) depending on the version and system locale settings. The Movement Prep Tool handles the most common date formats automatically. If dates appear incorrect after upload, check the raw CSV file in a text editor to see the actual format being exported.
BOM (byte order mark) from Excel
If you open the CSV file in Excel and re-save it, Excel may add a BOM (byte order mark) character at the beginning of the file. The Movement Prep Tool strips this automatically, so it should not cause issues. If it does, export directly from DairyComp 305 without opening the file in Excel first.
Other Herd Management Software
While this guide focuses on DairyComp 305 because it is the most widely used dairy herd management software in the U.S., the Movement Prep Tool accepts CSV files from any source. If you use a different system, the same principles apply: export your animal data to CSV with columns for ID, breed, birth date, sex, and 840 RFID number.
- PCDART (Dairy Records Management Systems) — supports CSV export of animal data. Column names may differ from DairyComp conventions.
- BoviSync — cloud-based herd management with export capabilities. Data can be downloaded in CSV format.
- Dairy Plan (GEA) — supports data export in various formats including CSV.
Regardless of which software you use, the key is to produce a CSV file with a header row containing recognizable column names and one row per animal. The Movement Prep Tool will match common column name variations automatically.
Frequently Asked Questions
What format should I export?
CSV (comma-separated values) is recommended. It is the most widely compatible format and works with the Movement Prep Tool, Excel, Google Sheets, and most other software. Tab-delimited also works.
Does DairyComp 305 include 840 numbers?
Yes, if the 840 numbers have been entered. The 840 RFID number is stored in the EID (Electronic ID) field. Include EID in your export column selection. If the field is empty for an animal, the number has not been entered into DC305 — check the physical tag and enter it.
Is data uploaded to a server?
No. The Movement Prep Tool parses your file entirely in the browser using client-side JavaScript. No animal data is uploaded to or stored on any server. Your herd data never leaves your device.
Can I use PCDART instead?
Yes. The Movement Prep Tool accepts CSV files from any herd management software, including PCDART, BoviSync, Dairy Plan, and others. The important thing is that the file includes essential columns: cow number, breed, birth date, and ideally the 840 RFID number.
What if columns are missing?
Re-export from DairyComp 305 and make sure you selected all required items in the export dialog. The tool will work with whatever columns are present and flag what is missing so you can address it.
How often should I export?
Export a fresh file each time you are preparing for an interstate movement. Herd data changes frequently, and an export from last month may not reflect current herd composition, status changes, or tag replacements.
References
- Valley Agricultural Software — DairyComp 305
- USDA APHIS — Animal Disease Traceability for Cattle
- DairyComp 305 help documentation — consult within the application for version-specific command syntax and menu navigation
DairyComp 305 is a product of Valley Agricultural Software. PCDART is a product of Dairy Records Management Systems. BoviSync and Dairy Plan are products of their respective companies. Therio, Inc. is not affiliated with, endorsed by, or partnered with any of these companies. Menu paths, commands, and export options described in this guide are based on commonly available versions and may differ from your specific installation. This content does not constitute legal or veterinary advice. Last reviewed: May 2026.
Stay updated on compliance changes
Get notified when interstate requirements change. No spam — just regulatory updates that matter.
Continue Reading
How to Prepare a Certificate of Veterinary Inspection (CVI)
What your vet needs from you, what goes on the certificate, and common rejection reasons.
Read guideHow to Order and Apply 840 RFID Ear Tags
Step-by-step guide to ordering, applying, and managing official USDA 840 RFID identification for dairy cattle.
Read guideDairy Cattle Identification: Every ID System Explained
The 15-20+ ID numbers a single dairy cow carries and why identity fragmentation causes compliance failures.
Read guideReady to export and upload?
Export your herd file and upload it to the Movement Prep Tool in under 5 minutes.