MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » December 2013

Re: strsql or iNav sql - how to see sqlca detail for errors



fixed

So write an RPG stub, put the SQL in it and test it there!

;-)

-sjl

"J Franz" wrote in message news:mailman.1293.1386105360.2717.midrange-l@xxxxxxxxxxxx...

Trying to debug a sql statement (normally executed in a c# client using OLEDB connection),
but I copied into STRSQL and also tried iNav.
SQL insert statement, and over a hundred columns - rcv a sql0420 about invalid characters in cast...
but no mention of which column.
Joblog has same generic msg.
I was thinking sqlca data structure like I use in SQLRPGLE might show what I need, but cannot see how to specify & view in either STRSQL screen or iNav Run SQL Statements.
Jim Franz





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact