Thanks for the replies....So called prob was with PIC clause as it was defined more than 6 bytes.....But people dont you think as an string operation It should work for less than full length values too.....