[Info-vax] disabling a CTRL/Y ast

Tom Adams tadamsmar at gmail.com
Thu Jan 7 10:40:55 EST 2016


On Wednesday, January 6, 2016 at 2:36:21 PM UTC-5, Stephen Hoffman wrote:
> On 2016-01-06 19:15:55 +0000, Tom Adams said:
> 
> > The AST that was set up using this code:
> > 
> >            sts = sys$qiow (     ,
> >         1                       %val(chn),
> >         1                       %val(IO$_SETMODE .or.
> >         1                       IO$M_CTRLYAST),
> >         1                       iosb,,,nulirpast,,,,,)
> > 
> > It still runs even if I try to cancel it with this code:
> > 
> >            sts = sys$qiow (     ,
> >         1                       %val(chn),
> >         1                       %val(IO$_SETMODE .or.
> >         1                       IO$M_CTRLYAST),
> >         1                       iosb,,,%val(0),,,,,)
> 
> 
> Any errors returned via sts or iosb?   Use EFN$C_ENF.  Avoid using EF0.
> 
Thank for the suggestions.  We do use EFN$C_ENF in production code.

My bug was apparently due to the fact that I assigned multiple
channels to TT in my earlier test code and the call only disables
asts for the channel passed.



More information about the Info-vax mailing list