Open RossPatterson opened 5 hours ago
TRACE 'Negative' behaves the same as TRACE 'Errors' but these should differ. The new bREXX has changed in the way, that TRACE 'Negative' does trace host commands with a positive return code but these should not be traced by TRACE 'Negative'.
I did indeed change stuff in the area of host command return code processing, because Cowlishaw's Rexx separates SIGNAL ON FAILURE
(negative RC) from SIGNAL ON ERROR
(non-zero RC). I wasn't aware of TRACE NEGATIVE
, and in fact it isn't documented in The Rexx Language 2nd ed. (TRL2) or in the ANSI Rexx Standard. Both of those have TRACE NORMAL
, and since they both say to only test the first character (i.e., "N"), TRACE NEGATIVE
is legal. TRL2 documents TRACE NORMAL
as the same as TRACE FAILUR
E - i.e., display commands with negative return codes.
So, yes, you're right, TRACE N
should behave the same as TRACE F
, not like TRACE E
.
Martin Scheffler reported this on the h390-vm list: