I am currently trying to rewrite a VSAM record in cobol. The record that I am replacing the original with is a different length, but is much shorter than the maximum length allowed to the variable length VSAM. I keep getting a VSAM file status of 44, meaning
A boundary violation exists because an attempt was made to rewrite a record to a file and the record was not the same size as the record being replaced, or an attempt was made to write or rewrite a record that was larger than the largest or smaller than the smallest record allowed by the RECORD IS VARYING clause of the associated file-name.
Do I have one of my definitions set up incorrectly? How can I rewrite this record without deleting the first one and writing a whole new one? Thanks!