Output file directory does not exist

Item Value
SQLCODE -978
Constant SQLE_DIRECTORY_INACCESSIBLE
SQLSTATE WW047
Sybase error code 13511
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

A file is being written to a directory that does not exist.