While adding an element into Endevor (with an existing version existing up the map), receive error:
SMGR160E INVALID SOURCE RECORD LENGTH - 00256 EXCEEDS MAXIMUM RECORD LENGTH FOR TYPE - 00255
The Type definition in the production environment is set to 256 and the element exists there with lines of code that are 256 in length (mainly spaces hex '40'). The Type definition in the lower environment is set to 255 and therefore when pulling down the production element as part of the add processing, there is a source length mismatch.
Two options to resolve this issue:
1 - retrieve production element to a VB255 (or less) PDS. Delete the production element and and remigrate.
2 - revert the Type definitions in the lower environment/stages to be consistent with production (256). Elements existing would need to be removed to allow a Type definition change.