The KEYLENGTH option of the ENVIRONMENT attribute for this file had an invalid key length greater than 255 or less than zero.
The ERROR condition is raised.
Check the argument of the KEYLENGTH option to ensure it is either a constant or a variable with the attributes FIXED BINARY (31,0) STATIC and value between zero and 255 when the file is opened. If the argument is a variable, ensure it is correctly initialized.
IBM06K