Modify
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 175
- Joined: Tue Oct 14, 2008 1:48 pm
Modify
Hi,
I am getting a warning 'Sequential_File_2: When checking operator: When binding input interface field "SNo" to field "SNo": Implicit conversion from source type "dfloat" to result type "int32": Possible range/precision limitation."
I used a modify stage then also I am getting the same warning. I searched in the forum but I did not get the solution.
I can do it with transformer AsInteger bu t I want to use Modify stage.
Appreciate your help
Thansk,
I am getting a warning 'Sequential_File_2: When checking operator: When binding input interface field "SNo" to field "SNo": Implicit conversion from source type "dfloat" to result type "int32": Possible range/precision limitation."
I used a modify stage then also I am getting the same warning. I searched in the forum but I did not get the solution.
I can do it with transformer AsInteger bu t I want to use Modify stage.
Appreciate your help
Thansk,
Rajesh Kumar
-
- Premium Member
- Posts: 175
- Joined: Tue Oct 14, 2008 1:48 pm
Okay you are trying to assign double to int.
double can store upto 8 bytes
int can store upto 4 bytes.
Suppose your input has 6 bytes. Can you store that value into a int type variable ?
In your case either you need to chnage int to double or double to int , depend on your requirement. Otherwise use a Transformer stage with following function
AsInteger().
double can store upto 8 bytes
int can store upto 4 bytes.
Suppose your input has 6 bytes. Can you store that value into a int type variable ?
In your case either you need to chnage int to double or double to int , depend on your requirement. Otherwise use a Transformer stage with following function
AsInteger().
Thanks,
Upul
Upul
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 175
- Joined: Tue Oct 14, 2008 1:48 pm
-
- Premium Member
- Posts: 175
- Joined: Tue Oct 14, 2008 1:48 pm
-
- Premium Member
- Posts: 175
- Joined: Tue Oct 14, 2008 1:48 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Would you like to try one?kittu.raja wrote:I am not using any warn specification
It's the single word NOWARN as a separate Specification.
Still waiting for you to post your actual Specifications so we can check them to see if the problem might be there.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.