Adds an alternate primary or replicate connection, or an alternate active or standby connection, and sets configuration parameters for the connection.
create alternate connection to data_server.database named conn_server.conn_db [set error class [to] error_class] [set function string class [to] function_class] [set username [to] user] [set password [to] passwd] [set database_param [to] 'value' [set database_param [to] 'value']...] [set security_param [to] 'value' [set security_param [to] 'value']...] [with {log transfer on | primary only}] [as {active | standby} for conn_lds.conn_ldb]
create alternate connection to SALES_DS.pdb named SALES_DS.pdb_conn2 with primary only go
create alternate connection to FINANCE_DS.rdb named FINANCE_DS2.rdb_conn2 go
create alternate connection to IQSRVR.iqdb named IQSRVR.iqdb_conn2 using profile rs_ase_to_iq; standard set username to dbmaint2 set password to dbmaint2pwd go
You can also create alternate connections to available SAP IQ multiplex nodes. Ensure that the connection names are unique.
create alternate connection to IQSRVR.iqbd2 named IQSRVR2.iqdb2_conn1 using profile rs_ase_to_iq; standard set username to dbmaint3 set password to dbmaint3pwd go