About iseries ado.net operations

Source: Internet
Author: User
1. Connection string:
Idb2connection conndb2 = new idb2connection (
"Datasource = your400.yourcompany.com;" +
"Userid = Mike; Password = mypassword;" +
" Librarylist = * usrlibl, testlib; naming = System");

This means that the server = xxx userid = Mike Password = XXXX librarylist refers to the library in the range of * usrlibl + testlib
* Usrlibl is qsys qsys2... it is best to use this as the first
Next is the library where your production data is located.

2.
SQL statement writing
Select fielda, fieldb from table;
Example:
Select name from userpf

Note that you no longer need to write the names of those libraries, but note that your pf names cannot be repeated in the library,
Otherwise, use the order in the librarylist. The first one prevails.

3.
If my framework is used, the client access must be v5r3, and the patch of the latest version of client access v5r3 must be installed.
Otherwise, the database connection cannot be opened.

There is a good link here

Http://www.itjungle.com/fhg/fhg101304-story02.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.