MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2014

Re: Debugging SQL Stored Procedure



fixed

Thanks!

For the archives, the URL as of today (2014-09-03): http://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler?contentId=cntkv8_XCRndVf4MDAD&localeName=en

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 09/02/2014 9:46 AM, Gary Thompson wrote:
Yes,
I'm having trouble pasting the link in this e-mail, but a web search for:
kent milligan graphical debugging
Should get you a link ( I used that phrase just now)
Look for the most recent .pdf dated February of this year.
I also see a link on iprodeveloper

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Clay
Sent: Tuesday, September 02, 2014 7:28 AM
To: midrange-l@xxxxxxxxxxxx; midrange-l@xxxxxxxxxxxx
Subject: Re: Debugging SQL Stored Procedure

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.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.







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