Originally posted by: SystemAdmin
I would use the CLONE function so that multiple calls to a functional map are made:
=fmap (CLONE (data, ROUND(SIZE(data)/ length)), INDEX($), length)
in the functional map have the following to extract out the part of the data you're interested in:
=MID(data, (Index*length)-length+1, length)
This way is probably the simplest but not very efficient, it will slow down quickly as the data size increases.
If the data is likely to be long, use a RUN map and call it recursively (each iteration trimming off a bit more data) - as you suggest.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange