Add ";trace=true" to your url, just after the system name. This will give you a
debug of AS400 errors.

Marie-Jo


Peter Palombi wrote:

> hi all,
> i have made a jsp page to access to as/400 db.
> ..but it don't work correctly.
> in the as/400 there is table ANCL200F unter the lybrary A2_DNET
>
> and so i have wrote:
> connection = DriverManager.getConnection("jdbc:as400://" + system,"xxxx","xxx");
>
> ResultSet rs = select.executeQuery("SELECT CDCLI FROM A2_DNET/ANCL200F");
>
> but i receive a error
>
> [SQL5016] Qualified object name ANCL200F not valid.
>
> when i change the code in:
> ResultSet rs = select.executeQuery("SELECT CDCLI FROM A2_DNET.ANCL200F");
>
> i receive this error
>
> Descriptor index not valid.
>
> .. but when i make a query by the client as/400
>
> and wrote
> select * from A2_DNET/ANCL200F
>
> it work correctly
>
> i can't found the error.
>
> Someone can me help?
>
> thanks for your help
> Peter
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to