From the RPG list...
One of our developers is pursuing this with IBM:subtraction
Currently, you have to have spaces between the minus sign in a
in embedded 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.
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