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.
Kind regards
Bernd
I think an approach like this would only be reasonable of the volume of
calls to the 64-bit code are very infrequent. If the 64-bit routine(s)
is/are called a lot, the overhead would be prohibitive.
--
Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN