Use ISQL to connect to 32-bit applications from the command line. 
To connect to a  32-bit application without using a data source,
use dbisql to connect from the command line. To connect to the 
demo.db you would use a command similar to this:
dbisql -c "UID=DBA;PWD=sql;AUTOSTOP=no;
ENG=<engine name>;DBF=%ALLUSERSPROFILE%\SybaseIQ\
demo\iqdemo.db"