Re: C++ recovery from (an otherwise) system abend
- From: loga3870@xxxxxxxxx (David Logan)
- Date: 7 Jan 2008 05:08:19 -0800
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?>
----------------------------------------------------------------------> ForThanks!> >> >
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
.
- Follow-Ups:
- Re: C++ recovery from (an otherwise) system abend
- From: Binyamin Dissen
- Re: C++ recovery from (an otherwise) system abend
- References:
- Re: C++ recovery from (an otherwise) system abend
- From: Roland Schiradin
- Re: C++ recovery from (an otherwise) system abend
- Prev by Date: Re: Purge all members from a PDSE
- Next by Date: Re: C++ recovery from (an otherwise) system abend
- Previous by thread: Re: C++ recovery from (an otherwise) system abend
- Next by thread: Re: C++ recovery from (an otherwise) system abend
- Index(es):
Relevant Pages
|