on 10-29-2010 5:26 AM
Hi all,
My business requirement is
-
requires to get a checksum from the KIOSK field. This would be something like a rule that for a given KIOSK generates a number from 0 to 9.
-
The Field value contains alphanumerical
Can any of guys help me in this logic.how to generate a checksum for a given field..
Thanks & Regards;
Vinit
> Can any of guys help me in this logic.how to generate a checksum for a given field..
Maybe you ask at first your customer, what check sum algorithm should be used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
requires to get a checksum from the KIOSK field. This would be something like a rule that for a given KIOSK generates a number from 0 to 9.
What do you mean by checksum?
Do you want to generate a serial number like 1,2,3......?
If yes, then you can use 'index' function in the mapping.
But it would be better if you can clarify your requirement a bit more.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Supriya,
There are different files with several kiosk values coming from the input side n we want to generate a checksum value so that the files with equal kiosk value should enter one process of BPM ..
Like we need to generate a number from 0-9 from the KIOSK value so files containing the same num enters the BPM process
Edited by: 1688vinit on Oct 29, 2010 6:40 AM
How will you generate a number from KIOSK value . I believe KIOSK is a field , correct me if I am wrong .
You need to generate a number from KIOSK value , So there must be some business logic in number generation like whether
you need to get a substring out of total value of KIOSK field , or you need the first character or middle character .
So please provide this business transformation rule to get this more clear .
After this is done , by implementing BPM you can achieve what you want
Regards
Ninad
Alright I found something I am not sure if it is of use to you , A checksum is generally used to detect the integrity of file
it is calculated oin basis of hash algorithms so how it is useful to for incoming filed values i m not sure
Please find the links below
http://en.wikipedia.org/wiki/Checksum
http://www.fastsum.com/support/online-help/checksums.php
http://www.flounder.com/checksum.htm
http://www.mkyong.com/java/how-to-generate-a-file-checksum-value-in-java/
If it is useful , you need to implement a hash algorithm
regards
Ninad
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
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.