title: DB2 with .NET Core 2.1
body: <p>I installed IBM.Data.DB2.Core Version (1.2.2.100) with Visual Studio 2017 &amp; .Net Core 2.1.  I was trying to test simple DB2 (z/OS server) connection and getting the below error. Our DB2 Server type is OS390 and version is 11. </p>
  
  <p>ERROR [42968] [IBM] SQL1598N  An attempt to connect to the database server failed because of a licensing problem. </p>
  
  <pre><code> using (DB2Connection con = new DB2Connection("Server=xxxx.xxxx.com:446;Database=XXXX;UID=XXXXXX;PWD=xxxxx"))
              {
                  try
                  {
                      con.Open();
                  }
                  catch (Exception ex)
                  {
                      throw ex;
                  }
              } 
  </code></pre>
  
  <p>Also I copied the license file to .nuget\packages\ibm.data.db2.core\1.2.2.100\build\clidriver\license folder. 
  I tried everything mentioned here: 
  <a href="https://www.ibm.com/developerworks/community/blogs/96960515-2ea1-4391-8170-b0515d08e4da/entry/Instructions_for_downloading_and_using_DB2_NET_Core_provider_package?lang=en" rel="nofollow noreferrer">https://www.ibm.com/developerworks/community/blogs/96960515-2ea1-4391-8170-b0515d08e4da/entry/Instructions_for_downloading_and_using_DB2_NET_Core_provider_package?lang=en</a></p>
  
  <p>Any thoughts?</p>