Agreed.

An easier approach by far would be to have my recovery routine retry to a 
routine that issued a distinct user ABEND in AMODE 31, perhaps first copying 
the SDWA to some storage that could subsequently be displayed.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Gord Tomlin
Sent: Tuesday, August 29, 2017 3:16 PM
To: [email protected]
Subject: Re: Can AMODE 31 C/C++ get a signal on a S0C1/4 in AMODE 64 assembler?

On 2017-08-29 17:44, Bernd Oppolzer wrote:
> Would the following approach help?
> 
>  From C/C++, you call an ASSEMBLER submodule, which ATTACHes a subtask 
> and waits for its completion.
> 
> The subtask does all the 64 bit AMODE switching (and return), and 
> establishes an ESTAE exit (or other technique) to handle errors that 
> occur inside the subtask.
> If errors occurs, you return information about the error to the C/C++ 
> main task (normal return, not percolate), which then can signal the 
> error and activate the LE error handling, as usual, so you can do your 
> garbage collection tasks etc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to