On Tue, Dec 5, 2017 at 6:47 AM, Tom Marchant <
[email protected]> wrote:

> On Mon, 4 Dec 2017 17:28:41 -0500, scott Ford wrote:
>
> >If i had a main line in assembler and set a ESTAE before calling a Cobol
> >main routine,
> >could i intercept the 'C stcname' and be able to recovery ?
>
> I'm not sure. Having set your ESTAE(X), then calling your Cobol main
> routine, I'm pretty sure LE would establish its own ESTAE(X), which
> would receive control first. Will it percolate to you in all the cases
> you are interested in? If I wanted to do something like this, I would
> establish the LE environment before setting your ESTAE(X).
>

​I was wondering about that. But then I thought that if I have an ESTAEX
with a TERM=YES specified. And I then LINK to an LE main program, which
issues an ESTAE(X) with TERM=NO, will the second ESTAEX exit be invoked for
a CANCEL command (shouldn't because TERM=NO) or will my ESTAEX exit be
invoked because it does have TERM=YES. I suppose that if I were really
interested, I could test that myself. And I may later.​



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



-- 
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

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

Reply via email to