Originally posted by: amiivas
Hi,
I have a COBOL copybook in which a segment is redefined based in a input field value. The same segment can come multiple times bounded by another count value present in the input. Please find attached cobol copybook for your reference.
I have followed other solutions provided in this forum like creating a master group in type tree, changed the Partitioned property to Yes, added each occurring segment group in the master group and replacing the group in the main tree with this master group. But I am still getting "L132 - Invalid partitioning: TYPE has no SUBTYPEs - TYPE: 'LCSW701_PARTIONED_GROUP Group CopyBook' (error)" after analyzing the type tree.
There are two problem, first the redefined clause should work and second a component rule should be mentioned somewhere that if the input value for one of the field contains SR then SR specific group should be used to parse the segment, similarly there are other 4 input values for which 4 different segment can be present. This whole structure is repeated multiple time.
Please let me know if that is at all possible in WTX? I am using WTX design studio Version: 8.4.0.5.
Thanks in advance!!
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender