IBM DB2 for i .NET data provider
Standard
DataSource=myServerAddress;UserID=myUsername;Password=myPassword;DataCompression=True;
DataSource=myServerAddress;UserID=myUsername;Password=myPassword;DataCompression=True;
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;User Id=myUsername;Password=myPassword;
Provider=IBMDA400;Data Source=MY_SYSTEM_NAME;User Id=myUsername;Password=myPassword;Default Collection=MY_LIBRARY;
Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;
Driver={IBM i Access ODBC Driver};System=mySystem;Uid=myUser;Pwd=myPassword;
Try this if you encounter a "runtime error 3000; reserved error (-7778); there is no message for this error" message.
Driver={IBM i Access ODBC Driver};System=mySystem;Uid=myUser;Pwd=myPassword;MGDSN=0;
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;SSL=1;
Enbales SELECT statements only. No UPDATE etc.
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;CONNTYPE=2;
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;COMPRESSION=0;
Use this connection string to disable prefetching for SELECT statements.
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;PREFETCH=0;
Example using spanish (ESP) language for sorting.
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;SORTTYPE=2;LANGUAGEID=ESP;
Driver={IBM i Access ODBC Driver};System=mySystem;UID=myUser;PWD=myPassword;SORTTYPE=2;LANGUAGEID=ESP;SORTWEIGHT=1;
Driver={Client Access ODBC Driver (32-bit)};System=my_system_name;Uid=myUsername;Pwd=myPassword;
Try this if you encounter a "runtime error 3000; reserved error (-7778); there is no message for this error" message.
Driver={Client Access ODBC Driver (32-bit)};System=my_system_name;Uid=myUsername;Pwd=myPassword;MGDSN=0;
This driver is newer than the one above.
Driver={iSeries Access ODBC Driver};System=my_system_name;Uid=myUsername;Pwd=myPassword;
Try this if you encounter a "runtime error 3000; reserved error (-7778); there is no message for this error" message.
Driver={iSeries Access ODBC Driver};System=my_system_name;Uid=myUsername;Pwd=myPassword;MGDSN=0;
Driver={any odbc driver's name};OdbcKey1=someValue;OdbcKey2=someValue;