These examples illustrate how to use Interactive SQL Classic (dbisqlc) from the system command prompt.
The following command, entered at a system prompt, runs the command file mycom.sql against the current default server, using the user ID dba and the password sql. The default password is case-sensitive but the user ID is not.
dbisqlc -c "uid=DBA;pwd=sql" mycom.sql
The following command, entered at a system prompt, adds a user to the current default database:
dbisqlc -c "uid=DBA;pwd=sql" grant connect to joe identified by passwd