MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2014

Re: Debugging SQL Stored Procedure



fixed

Gary,

Which PDF would that be? Is is something you (or Kent) can/will share? If so, is there a URL?

Thanks!
Robert
"Contrariwise, if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic."--Tweedledee

On 08/29/2014 12:38 PM, Gary Thompson wrote:
First time creating SQL Stored Procedure and using the Debugger as described in Kent Milligan's pdf.
Thank you Kent!

First part of mysql definition is:
CREATE PROCEDURE test/mysql
(IN out_loc CHARACTER (4),
IN cto_num DECIMAL(13,0),
IN bat_dat DECIMAL(7,0)
)

I called mysql from Run Sql Scripts with: call testlib/mysql('82 ',8268773,1140627)

My question: why does the character variable show on the Console tab like:
MYSQL.OUT_LOC = SPP:0000800000000270

Decimal variables show like:
MYSQL.CTO_NUM = 0000008268773.
MYSQL.BAT_DAT = 1140627.







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