...depending on the date/time content of 98a. However, when it come to referencing this repeating field, the 'A' or 'C' suffix to '98' prevents me using a repeating function. What I need to use is something like:
WHILE X <= CARDINALITY(InputBody.98*[])
DO
IF InputBody.Keyword = 'TRAD'
THEN
SET OutputRoot.Trade.Date=InputBody.98*[X].Date;
END IF;
SET X=X+1;
END WHILE;
where * is a wildcard, to reference all occurances of tag 98, be it 98A or 98C.
I'm using CSD4. I'm not sure what you mean by 'how your SWIFT MT is defined'. In this example it's an MT541 parsed by a pre-built Swift Message Set. The message tree looks something like this....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum