EZIOE003 Error processing file file-name... The length of the key is not equal to the key length of the file.
search cancel

EZIOE003 Error processing file file-name... The length of the key is not equal to the key length of the file.

book

Article ID: 218601

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

When running under CA Easytrieve release 11.6, receiving the following errors:

file-name
.         ###################### Diagnostic Information ######################
.EZABX003 The error occurred at 11.50 on 06/18/21.
.EZIOE003 Error processing file file-name.
.         The length of the key is not equal to the key length of the file.
.EZABX008 The error occurred at program statement number ......

EZIOE003 Error processing file file-name.
The length of the key is not equal to the key length of the file.

 

Environment

CA Easytrieve Report Generator, release 11.6

 

Resolution

This error with this exact error message can occur when using partial keys for the VSAM File, and release 11.6 does a check during runtime to ensure that this does not happen.

The POINT needs to be done using a field of exactly the same length of the key as specified in the IDCAMS DEFINE for the file.
Please recheck via the IDCAMS DEFINE statement for the file and ensure that a partial key for the POINT GE statement is not being used.

After confirming the actual length of the key for the VSAM file, please code the field or a working storage field with the appropriate (real) key length, using the above value specified with the remaining bytes being  either populated with hex zeroes or spaces, depending on what the VSAM file needs. 

Example: Using low values (hex zeroes) with POINT GE, the next READ will retrieve the appropriate data.