Dear All,
we are in process of migrating our script from Solaris 8 to LINUX. We are converting the scripts to ksh. There is one script which uses BCP ( with format file ). Database server is Sybase 12.5.

Current scripts works fine and BCP do not fail. But the same bcp command fails on new LINUX Server and gives error message as ' incorrect syntax near smallint'. We have verified that this 'smallint' is neither used in the table to hold the bcp data nor anything like this in script.

Rest of the scripts having the BCP works fine.
Any idea is highly appreciated.