|
I have a display file defined with the following fields REQUSER, REQTS, :BROWSER and I have defined it in my RPG Program FWEBHITS CF E WORKSTN F SFILE(SFL1:RRN1) F INFDS(INFO) .... Upon a compile It is talking about this SQL construct C/EXEC SQL C+ FETCH NEXT FROM MYCSR C+ INTO :REQUSER, :REQTS, :BROWSER C/END-EXEC And this being the error 158 Position 20 Host variable REQUSER not defined or not usable Then the error is repeated again for REQTS, BROWSER. I have looked through the archives and it appears the one other time this came up the field was not defined but in this case it should be from the display file right? Thanks in advance for any ideas/hints Scott Holmes Sportcraft, Ltd.
As an Amazon Associate we earn from qualifying purchases.
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.