There is a good online resource dedicated to connecting strings of all tastes:
http://www.connectionstrings.com/
Here is the page for ODBC AS400 drivers: http://www.connectionstrings.com/as-400
ODBC
IBM Client Access ODBC Driver
Driver={Client Access ODBC Driver (32-bit)};System=my_system_name; Uid=myUsername;Pwd=myPassword;
ODBC driver for accessing IBM iSeries iSeries
This driver is newer than the one indicated above.
Driver={iSeries Access ODBC Driver};System=my_system_name; Uid=myUsername;Pwd=myPassword;
IBM.Net Data Provider
Using the IBM.Data.DB2.iSeries Namespace
DataSource=myServerAddress;UserID=myUsername; Password=myPassword; DataCompression=True;
OLE DB, OleDbConnection
IBM OLE DB Provider for Client Access
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME; User Id=myUsername;Password=myPassword;
Where MY_SYSTEM_NAME is the name assigned to the system connection in OperationsNavigator
IBM OLE DB Provider for Client Access
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;User Id=myUsername; Password=myPassword;Default Collection=MY_LIBRARY;
Where MY_SYSTEM_NAME is the name assigned to the System Connection and MY_LIBRARY is the name specified by the library in iSeries Navigator.
source share