|
I have an sql statement that when I run it from outside my program usingto
an sql utility like FROG I get the search results I expect. But when I
run the statement in my RPGLE program it returns with an sql 100 code
which means no results returned.
here is the sql statement...
select value from BMDATA/rcm#name where key like '%HOSPITAL%'
Here is the statement from in my program...
Exec SQL
Declare C1 Cursor for
Select value from bmdata/rcm#name where key like
:SearchCriteria;
The value of SearchCriteria is '%HOSPITAL%'
These look exactly the same to me....I was wondering if there is a way
view the actual sql statement using monitor when debugging in WDSC usinga
SEP?use of the individual or entity to which it is addressed and may contain
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
--- This message (including any attachments) is intended only for the
--Client for System i & iSeries (WDSCI-L) mailing list
This is the Rational Developer for IBM i / Websphere Development Studio
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
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.