Complex OCCURS DEPENDING ON cannot be used with TYPEDEF. OCCURS DEPENDING ON clause ignored.
30
Recovery . . . : TYPEDEF cannot be used with complex OCCURS DEPENDING ON. This means tha you can not specify an OCCURS DEPENDING ON clause within a table that is part of a TYPEDEF. Also, a variable-length data item must be the last item in a logical record that is defined using TYPEDEF.