Restore the model database:
Load your backup of model, if you keep a backup.
If you do not have a backup:
Run the installmodel script:
On most platforms:
cd $SYBASE/scripts isql -Usa -Ppassword -Sserver_name < installmodel
On Windows NT:
cd $SYBASE/scripts isql -Usa -Ppassword -Sserver_name < instmodl
Redo any changes you made to model.