Re: C++ recovery from (an otherwise) system abend



I'm using assembler along with C. What "environment" did you have in mind?
Perhaps an ESTAE that's set just before the PC and cleared just after?

David Logan

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf
Of Bill Wilkie
Sent: Sunday, January 06, 2008 2:22 PM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: C++ recovery from (an otherwise) system abend

I haven't done any work on the MF in this regard so forgive me if I am all
wet here, but on the PC side, I know you can intersperse PC assembler in the
C++ code to implement low-level operations. Is that possible on the MF side?
If so, you may be able to set up the environment you are looking for. Just a
thought.


Bill> Date: Sun, 6 Jan 2008 14:54:03 -0600> From: roland@xxxxxxxxxxxx>
Subject: Re: C++ recovery from (an otherwise) system abend> To:
IBM-MAIN@xxxxxxxxxxx> > David, > > have you tried a LE-Condition-handler
instead of catch()? I believe a > C catch() wont work for an LE enabled
assembler program. > Did you get a CEEDUMP with the abend code?> Have you
tried a USRHDL or register a Condition handler?> > roland> > > >The main
problem with this solution (or any other solution) that checked> >something
before I make the PC call is that the server could crash (or be> >brought
down) between the check and the PC call.> >> >Were I to implement something
like the solution you describe, I would hope> >that I could either use the
get name/token pair routine to check to make> >sure the server is up, or
perhaps be able to check for existence of the> >servers ASCB or TCB, so that
I didn't need to place anything into common> >storage.> >> >What I was
hoping for was a solution where there was no chance of> >intermittent
failure. The only way I know of to support that would be to be> >able to
trap the ABEND. Is there really no way to issue an ESTAE type of> >recovery
routine in C++ and return control to some function or something> >similar?>
Thanks!> >> >
----------------------------------------------------------------------> For
IBM-MAIN subscribe / signoff / archive access instructions,> send email to
listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO> Search the
archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: To cross develop or not - was Re: eBay WTH?
    ... environment that could start up quickly and load the binary I had ... You don't know an assembler IDE by chance? ... code on the Apple II where possible (I like the "no distractions" ... I'll have a look at cc65 which, judging by your efforts, contains ...
    (comp.sys.apple2)
  • Re: Best 8-Bit Assembler?
    ... archives posted for download; when I tried to use it, I ended up with chunks of zeros in the middle of my object code files. ... This was a common environment situation for the era. ... After spending a little bit of time trying to roll my own assembler, ...
    (comp.sys.apple2.programmer)
  • Re: Hutch insane conduct
    ... and start macticating on that hat to keep your promise to the members. ... well as i fully disagrea with Herbert's ones, ... Not considering his confusions in between Assembler and ... Environment, Environment and Environment, Assembler and ...
    (alt.lang.asm)
  • Re: interesting use of NEXT SENTENCE vs. CONTINUE
    ... > your time with an HLL, but hand code it in assembler to really ensure ... environment should take for granted? ... don't declare a sign, there's no space allocated for a sign. ... There are lots of things about COBOL that relate to particular operating ...
    (comp.lang.cobol)