|
Hi all,
I have been working on AS/SET= ADK for past year. we have been
writing programs in rpg using ADK. curentl= y i am facing a problem with
one such program.
We had written this program c= ouple of months ago when it was
tested and kept in development region (it w= as not into production for
some reasons). Now we want to get this program i= nto production . however
when we again tested the same program we foun= d that it was not giving
correct results. The program has embedded SQL in i= t. when we debugged
the program we found that one particluar SQL was not se= lecting correct
number of records though all the parameter in where clause = where having
correct values. We have tried several things after that like w= e hard
coded the where clause parameter, included the required data model a gain,
we even re-wrote the SQL part but still it was not working. More ever to our
suprise the same SQL was running fine when we tried it thr ough STRSQL. Also
we did write another plain RPG (not ADK) program and another ADK program in
both of these program's the result given by&nb sp;the SQL is correct. we are
now confused about what the problems is = as
the same SQL is running fine outside that program.
We are now currently thinking= in terms of re-writing the code but
however i feel this is not t= he corrcet way to slove the issue. I would
like to have some ins= ight on this so that i can have some solution for
this. It would = be helpful for us if at all we face such problem again in
furture. </P= >
Thanking you in advance.
Regards
Gaurav Kadam
CGI Information Systems
Mumbai - India
As an Amazon Associate we earn from qualifying purchases.
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.