Hi
In a file a variable pol-num is declared as 9(16). In DB2 table column is polno declared as decimal(16,0).
When I try to check pol-num in table with select statement I'm getting pol-num as undefined or unusual host variable.
select polno into :ws-pol-num from policy where polno = :pol-num
I declared ws-pol-num pic 9(16).
Where is data incompatibility? any help