[Info-vax] disabling a CTRL/Y ast
David Froble
davef at tsoft-inc.com
Thu Jan 7 12:03:51 EST 2016
Stephen Hoffman wrote:
> On 2016-01-07 15:25:08 +0000, Tom Adams said:
>
>>
>> if (s) s=sys$qiow ( ,
>> 1 %val(chn),
>> 1 %val(IO$_SETMODE .or.
>> 1 IO$M_CTRLYAST),
>> 1 iosb,,,%val(0),,,,,)
>> end if
>> if (.not.s) call lib$signal(%val(s))
>> end
>
>
> Where's the IOSB check? (I do hope that check was solely omitted from
> the example, and not from the production code.)
>
> And again, you can either put some effort into fixing the application
> design, or you can continue to patch over the resulting design issues in
> the code.
>
>
Yeah, what Steve wrote ....
When issuing a QIO, there are two (2) distinct things you MUST check, or you
have no idea what is happening.
1) you need to be sure the QIO was successfully queued
2) you need to check the IOSB to see the result of the QIO
More information about the Info-vax
mailing list