You can upgrade SAP ASE without the graphical user interface (GUI), in noninteractive mode by using values from a resource file that defines the attributes for the server to be upgraded.
Set the OLDSYBASE_ASE variable to the SYBASE_ASE that is appropriate to your older server. If you are upgrading from 15.7 for example, OLDSYBASE_ASE should be ASE-15_0.
We recommend that you also set the OLDSYBASE, and OLDSYBASE_OCS environment variables to point to the older version installation of SAP ASE, so the upgrade utility that you run from the new $SYBASE directory automatically populates input fields with the correct information as you upgrade.
Source SYBASE.csh before running sqlupgrade if you have not already so.
Make sure your old server is running. If the server you are upgrading is not running, sqlupgrade prompts you to start the server.