> What commands can i use to do the following :
>
> 1.Opening and closing a file in sybase.
> 2.Reading from and writing into a file in sybase
I guess that's not more off-topic than most postings these days.
Since you don't mention an operating system, the most generic answer is:
http://www.sybase.com/products/middleware/jconnectforjdbc
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *