About Availabality of CRC32 in PX
Moderators: chulett, rschirm, roy
About Availabality of CRC32 in PX
Hi,
I want to know wether there is a function called CRC32 available in PX. I have a requirement like this in stage variable in transformer I have to calculate duplicate records with CRC32 and I have to assaign to other variable TotRejRec = If Dupcheck = 'Y' Then TotalRejRec+1 Else TotRejRec. In functions in pX ...... there is no conversion option . In server I found the function CRC32 under functions .... conversion....CRC32 . can any one help me how to use CRC32 in Px and where can I found that function
thanks,
Somaraju
I want to know wether there is a function called CRC32 available in PX. I have a requirement like this in stage variable in transformer I have to calculate duplicate records with CRC32 and I have to assaign to other variable TotRejRec = If Dupcheck = 'Y' Then TotalRejRec+1 Else TotRejRec. In functions in pX ...... there is no conversion option . In server I found the function CRC32 under functions .... conversion....CRC32 . can any one help me how to use CRC32 in Px and where can I found that function
thanks,
Somaraju
somaraju
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
<sarcasm=on>
Ray, the google search of "crc32 c++ function" returned over 81,000 pages to me. I think that is too much. Could you help me and Somaraju out? Please write (and of course debug) the parallel routine and post it here for us?
<sarcasm=off>
Somaraju,
the CRC32 algorithm is not only available in many libraries, but the C++ code is written in many places, including thousands of pages available through a google or yahoo! search. The method of writing c++ code for DataStage parallel extender is documented.
If you were to try to write a CRC32 function for Parallel extender and encounter problems in either the coding or the embedding there are many here who would help and assist you. But asking someone else to do this for you without having researched the matter is not going to get you much help from experts such as Ray.
Ray, the google search of "crc32 c++ function" returned over 81,000 pages to me. I think that is too much. Could you help me and Somaraju out? Please write (and of course debug) the parallel routine and post it here for us?
<sarcasm=off>
Somaraju,
the CRC32 algorithm is not only available in many libraries, but the C++ code is written in many places, including thousands of pages available through a google or yahoo! search. The method of writing c++ code for DataStage parallel extender is documented.
If you were to try to write a CRC32 function for Parallel extender and encounter problems in either the coding or the embedding there are many here who would help and assist you. But asking someone else to do this for you without having researched the matter is not going to get you much help from experts such as Ray.
-
- Participant
- Posts: 145
- Joined: Fri May 02, 2003 9:59 am
- Location: Seattle, Washington. USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 145
- Joined: Fri May 02, 2003 9:59 am
- Location: Seattle, Washington. USA