Thread: General

B055 after Easytrieve upgrade - field past end of record

Started by Tom • user3 replies159 viewsLast activity 3 weeks ago
Post #1
0 votes
Tom
Reputation
263
Posts: 18
Joined: Mar 8, 2024, 10:10 PM
Posted: Jul 19, 2026, 11:07 AM

Program that compiled for years started failing with B055 INVALID LENGTH, TYPE OR DECIMAL PLACES after we jumped releases.

Field starts at 10 length 72 on a FILE declared FB(80 ...). Math says that sticks out past 80. Did they tighten the check?

Post #2
1 votes
James
Reputation
524
Posts: 30
Joined: May 2, 2024, 8:00 AM
Posted: Jul 19, 2026, 2:07 PM

Yes. Newer maintenance actually verifies field defs against the declared record length. Old levels let that slide and you risked S0C4 at runtime.

Fix the layout. Either the LRECL is wrong or the field is.

Post #3
0 votes
Tom
Reputation
263
Posts: 18
Joined: Mar 8, 2024, 10:10 PM
Posted: Jul 20, 2026, 12:07 PM

Copybook was for a 100-byte version of the file. JCL still said 80. Aligned both. Clean compile.

You must be signed in to reply to this thread