Originally posted by: JGibby
CLONE is not the function you want to use. Try this:
=IF( MID(In1,2934,3)=TEXT(LineNumber:sequence:In2), ( MID(In1,1,3591) + FILLRIGHT(ServiceGroupId:sequence:In2,
" ",4) + FILLLEFT(TEXT(ServiceId:sequence:In2),
"0",4) + FILLRIGHT(ServiceIdDiagCode:sequence:In2,
" ",8) + FILLRIGHT(DiagCodeGroupId:sequence:In2,
" ",4) + MID(In1,3806,1195) ) )
If that doesn't work for you, try this:
=IF( MID(In1,2934,3)=TEXT(LineNumber:sequence:In2), ( MID(In1,1,3591) + FILLRIGHT(ServiceGroupId:sequence:In2,
" ",4) + FILLLEFT(TEXT(ServiceId:sequence:In2),
"0",4) + FILLRIGHT(EITHER(ServiceIdDiagCode:sequence:In2,
" "),
" ",8) + FILLRIGHT(DiagCodeGroupId:sequence:In2,
" ",4) + MID(In1,3806,1195) ) )
John
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender