MIDRANGE dot COM Mailing List Archive

Home » MIDRANGE-L » December 2013

SQL bug. Possibly with new database group or PTF for freer RPG.


One of our developers is pursuing this with IBM:

Currently, you have to have spaces between the minus sign in a subtraction
in embedded SQL.
For example,
exec sql
select (field1-field2) from file1;

Will give an error about field1-field2 being invalid. Our suspicion is
that the all free-form modification broke this where it thinks it is one
of those dcl-xx or some such thing.

Rob Berendt

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