|
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.
Regards, Chuck
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.