Re: Zero IOSB status

From: Richard Brodie (R.Brodie_at_rl.ac.uk)
Date: 03/31/05


Date: Thu, 31 Mar 2005 12:17:23 +0100


"Ron Atkinson" <oj_287@yahoo.co.uk> wrote in message
news:1112267525.611587.217520@f14g2000cwb.googlegroups.com...

> When performing a QIO READVBLK + IO$M_LOCKBUF on an IP listening
> socket, the QIO status is OK but the read IOSB status is returning the
> value 0 instead of 1.
>
> When I step through this bit of code using the pascal debugger it
> returns 1 as expected.
>
> In both cases the function works OK. What am I doing wrong ?

At a guess: not waiting for the IO to complete. Step through the code
faster ;)



Relevant Pages

  • Re: Zero IOSB status
    ... > Ron Atkinson wrote: ... >> socket, the QIO status is OK but the read IOSB status is returning the ...
    (comp.os.vms)
  • Re: Zero IOSB status
    ... > socket, the QIO status is OK but the read IOSB status is returning the ... The QIO status OK shows that the QIO has succesfully started and that you ... can expect an AST and a valid IOSB when the operation ... Did yo mean to issue QIO or did you perhaps need QIOW? ...
    (comp.os.vms)
  • Re: Zero IOSB status
    ... where the QIO EFN was being set *before* the IOSB ... P.s. the common IO completion routines ...
    (comp.os.vms)
  • Re: Problem with UCX QIOW IO$_SETMODE
    ... The trick is that, with the QIO interface, you must not specify all ... parameter p5 which is used to set socket options. ... A-1010 Vienna / AUSTRIA ...
    (comp.os.vms)
  • Re: Timeout strategy: terminal vs Telnet drivers
    ... I would use a combo that uses one EFN for the $QIO, ... that also supports terminals. ... You can use the TNQIO front end for the socket and get the same behavior ... Use what works best --- select with a timeout. ...
    (comp.os.vms)