The Corresponding data type for float in data stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Sravani
Participant
Posts: 23
Joined: Thu Jun 15, 2006 3:56 am
Location: Hyderabad

The Corresponding data type for float in data stage

Post by Sravani »

I created a routine using the c++ function.
My C++ function takes 2 raguments and returns float value.
float IsNumberInRange(int len, float val);
when i am trying to use this routine, the job is getting aborted, as there is no float data type in the date stage, i tried to run the job by giving different data types in the data stage (Integer, decimal,bigint), for all these data types my job is getting aborted.
The Log says :
Transformer_2: Failed to load the library "V0S2_test_final_Transformer_2.so"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V0S2_test_final_Transformer_2": /opt/IBM/InformationServer/Server/Projects/Training_Project/RT_BP185.O/V0S2_test_final_Transformer_2.so: undefined symbol: _Z15IsNumberInRangeix.

But when i give the data type double in both c++ function and in data stage the job is running.
double IsNumberInRange(int len, double val);
what will be corresponding data type for float in DataStage,
what data type i need to give in the data stage to run the job.
please let me know the answers.
Sravani
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Sravani - when I look at the datatypes available to me in stages and when creating a buildop I see "float" available everywhere.
Post Reply