In this message, I am receiving unwanted trailing whitespaces [before delimiter 'crlf']. It may or may not occur in each lines. I have to remove these whitespaces using one msgset [as per the requirement!].
I know this is possible with ESQL. But what is the possibility of doing this with MRM's?
Remember each line consists of variable length fields not fixed!
Hi,
you can use the property: "Trim on input" --> Trim padding characters in the TDS Format message set properties.
The whitespaces get there because your physical properties of each element formats it into it because the MessageDefinition e.g. file says: "Padding Character": SPACE (this is the section where you see the length of the field etc.)
You can change it globally in the MessageSet configuration for your TDS format: e.g. Text1 --> section "Character data settings".
Hi,
you can use the property: "Trim on input" --> Trim padding characters in the TDS Format message set properties.
You can change it globally in the MessageSet configuration for your TDS format: e.g. Text1 --> section "Character data settings".
Just set there: "Trim padding characters" or the other options.
Thanks for your valuable inputs JP!
I believe these options [trim on input] are for fixed length strings only! However I would like to test this again to confirm on this. I am looking for "Variable length elements" ...
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