|
I have the following stored procedure:
CREATE PROCEDURE CANLIB/GETSALES (
IN LISTTYPE VARCHAR(1) ,
<<SNIP>>
IN STARTDATE DATE ,
IN ENDDATE DATE ,
IN DATERANGE VARCHAR(3) )
DYNAMIC RESULT SETS 1
LANGUAGE RPGLE
SPECIFIC CANLIB/GETSALES
NOT DETERMINISTIC
READS SQL DATA
CALLED ON NULL INPUT
EXTERNAL NAME 'CANLIB/SPR0055 '
PARAMETER STYLE SQL ;
If I start a SEP on SPR0055 and call GetSales from
iNav Run Sql Scripts
call getsales('I',1,0,'','','','','','',0,'','','0001-01-01','WTD');
When the program breaks (prior to the first executable statement) and
I press F5 (to execute the first statement) the value of the 12th
parameter, STARTDATE has a value of '2012-02-02' (today's date) even
though I specified ''.
Can anyone explain how or why STARTDATE is being populated with
'2012-02-02'?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.