Asuming you mean ASE when you say "Sybase database"...
1) Files can be written on the server host machine using xp_cmdshell
to CAT strings to a file. You can also use the external file system
(XFS) feature, which allows ASE to view files as tables. This is an
extra-cost license on 12.5.x but is included with 15.0.
http://sybooks.sybase.com/onlinebook...ystem+a ccess
2) xp_cmdshell