MIDRANGE dot COM Mailing List Archive

Home » MIDRANGE-L » December 2013

Fw: SQL bug. Possibly with new database group or PTF for free RPG.


From the RPG list...

Forwarded by Rob Berendt/DEKKO on 12/19/2013 12:38 PM
From: Sue Romano <slromano@xxxxxxxxxx>

Rob, you suspect exactly correctly about the source of the problem. We
PTF SI51597 available as a test PTF now and it will be approved for
availability by the middle of January.

One of our developers is pursuing this with IBM:

Currently, you have to have spaces between the minus sign in a

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

Sue Romano
IBM i SQL Development

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