Comments (5)
SIGNAL ON FAILURE was added to REXX in VM/SP Release 6, after REXX had been available on VM for about 5 years.
It was never implemented in BREXX. This feature will be added to VMCE. FAILURE will be signaled when executing a CMS command (including the CMS CP command) produces a negative return code.
from vm370.
It looks like SIGNAL ON ERROR doesn't work correctly either. It is not being signaled when a CMS command gets a non-zero RC.
========================
/* */
ADDRESS ''
SIGNAL ON ERROR
'ACCESS 333 Z'
EXIT RC
ERROR: SAY 'ERROR SIGNALLED'
Currently returns:
test2
DMSACC113S 'Z (333) ' NOT ATTACHED
Ready(00100); T=0.02/0.02 10:03:18
Should return:
test2
DMSACC113S 'Z (333) ' NOT ATTACHED
6 - 'ACCESS 333 Z'
+++ RC(100) +++
ERROR signalled
Ready(00016); T=0.02/0.02 10:03:05
from vm370.
Down load a test fix from https://www.dropbox.com/s/xrbt2nlcv2958aj/brexxfix.aws?dl=0
This is an aws tape made with a TAPE DUMP BREXX TEXT command.
Retrieve the test aws file, and use TAPE LOAD to create a BREXX TEXT file.
IPL CMS, so that the new BREXX TEXT file will be loaded, then test with a SIGNAL ON FAULRE sequence.
from vm370.
I don't know how Bob Bolch intended to fix this, and his Dropbox link is now dead, but I've written a fix of my own and sent a pull request to the main source tree.
from vm370.
from vm370.
Related Issues (20)
- CP TERM HILIGHT ON causes first & last row screen corruption on 3270 model 4 (43 line) screen
- Document WAKEUP server
- tried snobol4 exec; no luck yet HOT 10
- OPCODES MACLIB in a future VM/370CE HOT 2
- Basic Compiler error messages missing
- EXECIO DISKW: DMSFRE160T INVALID DMSFREE CALL FROM 021240. HOT 6
- BREXX DO loop counting weirdness HOT 16
- DCSSFLAG mis-interpreted ss NUCMFLAG
- BREXX DO loop counting resets to 0 HOT 1
- error in readme-dosvs.txt
- RECEIVE refuses to read in a file that does not exist on the target disk, but that exists on a read-only extension of it.
- EXECIO DISKW treats empty VAR as EOF on input and doesn't write it. HOT 1
- NUCEXT and SUBCOM macros require NAME= on MF=L form HOT 1
- NUCEXT and SUBCOM macros do not set function name with MF=(E,...) HOT 1
- NUCEXT RENAME plist is processed incorrectly, uses wrong newname HOT 1
- ZAP command reports DMS210E on files dated 20xx. HOT 1
- NUCEXT macro with SET, ORIGIN= and MF=(E,...) builds plist incorrectly, causing random storage overlays. HOT 1
- COBOL.HELPCMD.D1 refers to wrong TXTLIB
- no help file for TAPEMAC
- No help file exists for TAPEPDS command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vm370.