read path\scripts\jcatalog.sql
where path is your Sybase IQ installation directory.
dbisql -c "uid=user;pwd=pwd" path\scripts\jcatalog.sql
where user and pwd identify a user with DBA authority, and path is your Sybase IQ installation directory.