In our application we create blob from a .doc file and save into database.
As
li_Handle = FileOPen(ls_To_File, StreamMode!, Write!, LockWrite!, Replace!)
FileWrite(li_Handle, lblob_Temp...
http://www.experts-exchange.com/Database/Sybase/Q_24017079.html