May help to see File declration for COV: and COV1: ? Maybe you have a DIM() on something so an [ Array Subscript ] is needed.
Does the error point to a specific line in code? And what is the source on that line. You can paste a screen capture of the editor opened when you click on the error line.
Hi Don - If it’s TPS, I’ve always just created a conversion program, which can be a PITB. So if you have any other changes to make, now is the time.
If you do not need a Conversion program to run at end user site, you can convert one time simply in the DCT by right clicking on the file and choose Browse Database. If the current file design does not match the disk TPS it will ask if you want it converted. It will not write a program.
It does save the old file in a Backup folder. This may not work as desired. You have to view the result file (i.e. Browse Database in DCT). E.g. your change from DIM(1) to no DIM() may confuse it and it will skip the field so you will see it as blank.
The “Generate Conversion Program” writes a little handcode CLW project that is not hard to work with. You will have to edit the code in AssignRecord Routine as the default is usually a simple Record=Record that will not work unless all the new fields are at the end.