× 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.



Currently running V5R4, but noticed this on V5R2 and V4Rx.



If I say "ADDRESS EXECSQL" at the top of a Rexx program, then I can run
SQL statements fine. Prefixing i5/OS commands with ADDRESS COMMAND works
well also.



However, if I use just ADDRESS COMMAND at the beginning of a program,
then ADDRESS EXECSQL statements return with RC(-10).



The SQL statements are unchanged; solely changing the initial ADDRESS
from EXECSQL to COMMAND causes the problem.



For Rexx programs that perform many command but few SQL statements, this
is a pain due to prefixing ADDRESS COMMAND to all i5/OS commands to
execute.



Tried searching the archives but didn't see anything for the situation.
Do you Rexx gurus know if this is a normal condition or a defect?





Loyd Goodbar

Senior programmer/analyst

BorgWarner

TS Water Valley

662-473-5713




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.