Giter Site home page Giter Site logo

Comments (5)

BobBolch avatar BobBolch commented on August 23, 2024

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.

BobBolch avatar BobBolch commented on August 23, 2024

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.

BobBolch avatar BobBolch commented on August 23, 2024

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.

RossPatterson avatar RossPatterson commented on August 23, 2024

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.

BertramMoshier avatar BertramMoshier commented on August 23, 2024

from vm370.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.