The array specified in the LEXICAL ORDER statement must have at least 257 elements. If the length specified in the 257th element is not zero, there must be that many more elements in the array. Remember the OPTION BASE when figuring the number of elements.