Easytrieve Plus MSP edition : B055 error appeared in the existing program after upgrading the Easytrieve Plus MSP edition from R6.2 to R6.3.
search cancel

Easytrieve Plus MSP edition : B055 error appeared in the existing program after upgrading the Easytrieve Plus MSP edition from R6.2 to R6.3.

book

Article ID: 191501

calendar_today

Updated On:

Products

Easytrieve Report Generator Easytrieve Report Generator for Common Services

Issue/Introduction

For Easytrieve Plus MSP edition only.
After the Easytrieve Plus MSP edition was upgraded from R6.2 to R6.3, the B055 error appeared in their existing program.

      9    O1-INLIB                10  072  A       
      9 *******B055 INVALID LENGTH, TYPE OR DECIMAL PLACES - 072


Environment

Release : 6.3

Component : CA Easytrieve Plus Report Generator

Cause

The error is proper because the item length was wrong. The item length exceeds the record length. The record length of the target file was 80 bytes as follows.
      6  FILE O010     FB(80 6160)  

If the PTF: QO15498 is applied to the Easytrieve Plus MSP edition R6.3, the B055 error appears if the length of the field definition exceeds the length of the record definition.
By the QO15498, the syntax check for the item length is strengthened.

Resolution

The error is proper because the item length was wrong. The item length exceeds the record length. The record length of the target file was 80 bytes as follows.
      6  FILE O010     FB(80 6160)  

If the PTF: QO15498 is applied to the Easytrieve Plus MSP edition R6.3, the B055 error appears if the length of the field definition exceeds the length of the record definition.
By the QO15498, the syntax check for the item length is strengthened.

After the Easytrieve Plus MSP edition was upgrade to R6.3, all published PTFs were applied. Therefore, the B055 error appeared in the existing program because a item length exceeded the record length in the existing program.

If the QO15498 is not applied, the B055 compilation error doesn't appear even if the length of a field definition exceeds the length of a record in a program. However, such programs will contain the possibility of the S0C4 abend within them. So, the QO15498 should be applied to remove the possibility of the S0C4 abend.