Bola
Jul 26, 2018 10:57:44 AM

Invalid string or buffer length

HI,

 

I am trying to use the Database Catalog to view my queries.

When i click on "Procedure Script" I get the following message: "Invalid String or buffer length"

I am using DB2 v.10.5 and WINSQL v11.0

Thanks for your help.

 

 



Synametrics support engineer
Aug 7, 2018 10:12:16 AM

Invalid string or buffer length

Which version of DB2 are you using? Is it iSeries or UDB? Please note that the DB2 Plugin, which is responsible for fetching the SQL script for stored procedures, only works with UDB.



Anonymous
Sep 20, 2018 3:48:26 PM

Invalid string or buffer length

Hi,

 

so you mean if I am using Series, I can't fetch the Script?



Synametrics support engineer
Sep 21, 2018 10:30:25 AM

Invalid string or buffer length

Not with the existing plugin. If you like, you can modify the plugin yourself. These are just XML files located in the $INSTALL_DIR of WinSQL. Look for wsxDB2UDB.xml . I recommend you create a copy of this file and call it something like wsxDB2ISeries.xml . Once done you will see another plugin in WinSQL for iSeries. You can modify/create any scripts you see in there. Some queries are encrypted. You can replace them with clear text in your version of the plugin.

Navigation

Social Media

Powered by 10MinutesWeb.com