on 11-30-2016 4:35 AM
Hello All,
What is the filed separator for space abr between fields, traied with 0x09, ' ', and '' ''.
i copied space bar space from note pad also. but it not working.
could you please help me what is field separator for space bar.
Thanks and Regards,
s.prabhakar.
Hello Prabhakar,
Try using
0x20 or '0x20'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhakar!
I will ask the same question again: what's your aim? Since you work with PI environment you deal with interfaces, messages, data types. What will you do with results of your counting? Do you need to include that result to target message?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhakar!
As Raghu has already said, '0x20' is the value of "fieldSeparator" parameter in case of space-delimeted file.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgeniy,
My scenario is count all charecters in file with huge data. how can i create data type structure at sender and recievr side.
please post me data structure and mapping to achive this scenario.
post me links or documents on this scenario.
Really i am facing new challenges every time.
please post your valuable comments.
Thanks,
s.prabhakr.
can you post the FCC parameters screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Raghuramn,
actuvally my scenario is to count the charecters in file.
But when i am push the file it going to recievr but charecter count is showing 0. i am not getting charecters length,
is it file structure issue. i am having 4 input fileds and one output field(charecter_length).
Help me.
Thanks,
s.prabhakar.
Hi Raghuramsn,
Thanks for spending your valuble time to me.
now i am processing only first record like this.
abcd 1234 xyz.
But count is 0. it should come total charecters count.
i used Module transformation bean also for this one. my one of my pi consultant told it is not field separator issue.
i am in confussion, how to do it.
Thanks,
s.prabhakar.
Hello Raghuraman,
as you suggested 0x20 is working fine .
my problem is if i push one text file with data. i want to count total file charecters count. i want to know how do mapping at mapping level.
To count all charecters in file. i dont know how to take data types in IR to do mapping. earliyar i created source side is 4 fields, recievr side side id is one filed.
That is only working for 4 fields data. so want to change my data types to count all charecters in file.
if you have nay document or step by step blog link share with me.
Thanks,
s.prabhakr
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.