Those functions are in ASA I think, which is a totally different product than ASE. Try to read up on xp_cmd_shell. Maybe you could achieve it through that.
But again, xp procedures are still not that great with ASE. So, you are better off writing any file read/writes from an app using say for eg., c, java, perl etc.