Fix spreadsheet damage
Use this guide when a CWR file has passed through a spreadsheet, and the checker now reports many problems. CWR (Common Works Registration) is the text format publishers use to register works with collecting societies.
Your file is never uploaded.
Why spreadsheets damage CWR files
A CWR file has fixed-width fields. Position is the only signal for where a value ends. Spreadsheets reformat. They drop leading zeros, change long numbers, change dates, and trim trailing spaces. In a fixed-width file, trailing spaces and leading zeros are part of the field.
Problems that point to a spreadsheet
Rule id | What the checker found |
|---|---|
| A record is shorter than its layout, often because trailing spaces were trimmed. |
| A numeric field holds something other than digits. |
| A numeric, date, or time field is blank and should hold zeros. |
| A date is not a real YYYYMMDD date, or a time is not HHMMSS. |
| An IPI Name number lost its zeros. |
| An ISWC is no longer |
| A name or title changed case. |
Many problems of one kind across the file usually mean one export step caused them.
Steps
- Keep the original CWR file. Do not send anything saved from a spreadsheet.
- Open the damaged file in the CWR checker.
- In the Problems tab, choose "By rule" and see which rules appear most.
- If you still have the original, check it. If it has fewer problems, send it instead.
- If you do not have the original, export again from the system that made the file.
- If you must repair the damaged file, use the tools for what they can do:
- Clean identifiers for IPI numbers and ISWCs. It adds zeros to an IPI Name number only when the padded number passes its check digits.
- Find and replace to upper-case names and titles.
- Fix dates, shares, and trailing spaces in the source system. No tool changes them.
- Check the repaired file again.
Use a spreadsheet safely
- Use Works list (CSV) when you want a spreadsheet view. It does not change your CWR file.
- Format ID columns as text before you paste data in.
- Never save a spreadsheet over a CWR file.
- Check any file that was edited elsewhere before you send it.
What to check next
- Check the file in the CWR checker.
- Compare the number of problems with the original.
Related articles
Territories, alternative titles, performers and recordings
Use this guide to fill in the territory, title, performer and recording parts of the CWR creator template.
Sender details
Use this guide to fill in step 3 of the CWR creator, "Sender details".
Fix row problems
Use this guide when the CWR creator lists problems in your sheet.
Still stuck?
Support answers within one business day — usually much faster.