The xddgen utility failed to generate an XDD with the error "YYY undefined" when the record was variable-length and its size depended on a variable that was not part of the FD. The COBOL syntax was:
FD ... RECORD VARYING FROM ... TO ... DEPENDING ON YYY.
The logic has been modified to correct this.