You can use the josql SQL command utility to connect to network by using:
josql <network> <user> -h <host>
<network> is the name of the network you want to connect to
<username> is the username you wish to connect as
<host> is the host address of a catalog server.
If you want to perform administration functions such as creating or dropping users, roles or networks, then use star\$administration rather than the network name.