on 12-24-2011 3:15 PM
Hi users,
my scenario is proxy to file.how to add a special character at the end of the message in a file.The special character should not be a field separator.
ThanksIn Advance
concatnate special character in target structure last field in mapping level .
mappinglogic for last field------>
Concat------->lastfield
constant(specialcharacter)----->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajashekar,
Thanks for your response.
In my scenario the receiver structure looks like the below format
Record
Header 1-1
Name
Rank
Marks 0-unbounded
maths
science
I have mentioned the file cc configuration details like below
RecordsetStructure:Header,Marks
Header.fieldSeparator---$
Header.endSeparator----$
Marks.fieldSeparator------,
Marks.endSeparator------%
The output file is coming like this
Swathi$First$90,80%70,78%65,67%
But i want file like this
Swathi$First$90,80%70,78%65,67%&
& is the special character which i need to display at the end of the message in a file.
Swathi,
Define one more segment in your target message type
for example:
<Trailer>
<EndSeparator> -
> Map constant "&" this element.
</Trailer>
Record
Header 1-1
Name
Rank
Marks 0-unbounded
maths
science
Trailer 1-1
EndSeparator
And in FCC modify your parameters
RecordsetStructure:Header,Marks,Trailer
Header.fieldSeparator---$
Header.endSeparator----$
Marks.fieldSeparator------,
Marks.endSeparator------%
Regards
Ramesh
Hi Ramesh,
I have tried with record its not working.Its not throwing an error but the special character is not displaying at the end of the message in a file. I gave configuration details like below
RecordsetStructure: record,Header,Marks
record.feildSeparator ---
record.endSeparator---&
Header.fieldSeparator--$
Header.endSeparator--$
Marks.fieldSeparator---,
Marks.endSeparator---$
Regards
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.