Chris,

Ty I am using Extact but that gives me and idea, Ty a lot, appreciated

Scott ford
www.identityforge.com

Tell me and I'll forget; show me and I may remember; involve me and I'll 
understand. - Chinese Proverb


On Oct 10, 2012, at 5:36 PM, Chris Craddock <[email protected]> wrote:

> Scott ford said
>> I am in the process of writing a CEEBXITA application specific exit. I 
>> currently have a
>> LE Cobol 4.2 STC and we process items in storage and/ or could have file 
>> open. What I am trying to do is gain control or intercept the operator 
>> issuing a mvs cancel command against the STC.
>> If they do that and if my eyes and brain are in sync, I should be able to 
>> intercept it with this exit.
>> Is my thinking correct ? If not please tell me where my thinking is 
>> incorrect , it would e much appreciated.
>
> If the STC is your own there is no need to intercept anything, you are free 
> to use the STOP/MODIFY interface. Basically you need to have a task that 
> waits on the STOP/MODIFY ECB and takes appropriate actions when posted. See 
> the EXTRACT and QEDIT macros. You can even use WTO to return information that 
> will be displayed as the reply to the command.
> It remains an exercise for the reader to arrange for the application tasks 
> running within the STC to do something sensible when posted with a command, 
> or told to stop.
> CC

Reply via email to