SMGR160E Invalid Source Record Length issued when adding an Element to Endevor
search cancel

SMGR160E Invalid Source Record Length issued when adding an Element to Endevor

book

Article ID: 416653

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

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

Cause

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.

Resolution

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.