|
Nevertheless, it works for me (at least on V5R3)...
On Mon, Jan 3, 2011 at 2:00 PM, CRPence wrote:
On 1/3/11 8:23 AM, David FOXWELL wrote:
Luis, I think REXX is trying to be funny.
I typed : SAY SQLCODE
and guess what? It said SQLCODE.
How do I get it to output the value of SQLCODE?
Luis Rodriguez on 3 janvier 2011 16:31 wrote:
You are right, of course. I'm afraid I misread the
parenthesis's order.
I just ran his statements without problems. On the other hand,
it would seem as if SQLCODE had an invalid value (?). Time for
a SAY SQLCODE, perhaps?
That output is evidence there is no value assigned yet to the
variable SQLCODE; i.e. per no value, the string itself is output. That
is also an indication of why using the RC versus SQLCODE as a condition
to report the SQLCODE is the source of a bug in the original REXX source
statements.
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.