Use System Stored Procedures

For information about current ASE configuration, use sp_configure with no argument. It will list all configuration parameters and their values.

For the SQL commands in a stored procedure, use sp_helptext.

See the Reference Manual for other system stored procedures such as sp_helpdevice, sp_help, sp_helpdb, sp_helpsegment and sp_helpindex that can provide information about objects on your server.