> However, I don't know if you can do I/O while in the ESTAEX exit code.

I do. <g> You can and I do.

And looking, yes I use TERM=YES.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John McKown
Sent: Monday, December 4, 2017 3:20 PM
To: [email protected]
Subject: Re: LE Recovery

On Mon, Dec 4, 2017 at 4:28 PM, scott Ford <[email protected]> wrote:

> All:
>
> I have a STC in LE Cobol  -- and want to be able to take action if an 
> operator enters 'C stcname'  from the console.
>
> I dont think i can use a condition handler to do this, please correct 
> me if I am wrong.
> But I had a thought..
>
> 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 have data sitting in a array and its critical, but have a 
> customer who want to be able to take down a very active SECURITY admin 
> type STC in 5 mins.. I am exploring what I can do ...
>

You can use the TERM=YES parameter on the ESTAEX macro.

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

Reply via email to