× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Have you done a Verify in RDi? I find that it often tells me what I need
to know to fix the problem.



date: Fri, 11 Oct 2024 09:27:54 -0400
from: Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
subject: sql and screen fields

I'm on a 7.2 system and doing the below in my rpgle and it will not
compile...
i'm so used to doing this on other systems... is it a release limitation?


select column1
into :s2_fld
from mylib.mfile

where s2_fld is simply a screen field defined in a display file.
The workstn f-spec exists so it should be able to see it and I am also
doing a exfmt to that screen record in my pgm.

what is the issue?

the compile issue is the typical sql precompile issue saying the s2_fld
cannot be used due to data type or whatever... but both are simple char
fields

tia

Jay



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.