Output file cannot be written

Error constant SQLE_CANNOT_WRITE_FILE
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 20
SQLCODE –979
SQLSTATE WW048
Sybase error code 13510
Probable cause

Unable to create or write an output file. The file may be locked or read-only.