From my very limited understanding, having div_lib
as declared as VARCHAR in SQL proc GETLIB was 'the issue'
I changed GETLIB SQL proc to be:
CREATE PROCEDURE SWIRETEST/GETLIB
( IN out_loc CHARACTER (4)
, OUT div_lib CHARACTER(10)
I intend SQL proc GETLIB to be a standard utility for us.
This mailing list archive is Copyright 1997-2015 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