Luis

I agree that the CONST might not be passed through - that is why I asked what I did in my reply - did that change in 6.1?

I still think this is a messy setup, and the SQL pre-compiler does not handle such things well.

Now it is not clear whether the message is in the precompiler output - I think it is - or in the final compile listing. We need to see more.

Vern

Dennis Lovelady wrote:
Maybe I'm wrong but, as I see it, Davis stated that PARM1 was like a
field in another file ("D Parm1 LIKE ( A field in a file declared in
the F Specs ) CONST"), so the CONST rule would not apply here? Maybe
the field is called CONST? BTW, the CONST rule DOES apply to V5R3...
Luis, he's doing a SELECT ... INTO var1 where var1 is defined as a
CONST parameter. I think the rule applies.

I'm very sorry. I read that completely wrong!! I didn't see that wVar was
a standalone specification

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"There are many in this old world who hold that things break about even for
all of us. I have observed for example that we all get the same amount of
ice. The rich get it in the summertime and the poor get it in the winter."
-- Bat Masterson


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.