This is weird. I got it to work, as long as I put the LIKEREC above the
declare of the standalone field. This is the only program where the order
of the declaration specs matters. I have never seen this before.
In many other programs here, stand-alone fields are many times defined
before the "LIKE()" field is defined.
I was thinking it may have something to do with the Preprocessor option.
This is a SQLRPGLE program. I have *LVL2 used for the SQL preprocessor,
but am thinking I may also need to use the PPGENOPT parameters. I will
test that and see what happens.
Doug
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Why you shouldn't be afraid to use VARCHAR in RPGLE, (continued)
This mailing list archive is Copyright 1997-2025 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.