🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #303

How to read/write VMS (RMS?) disk blocks asynchronously

#303
From: Mark R. Ludwig
Date: Tue, 11 Aug 1992 10:30
26 lines
1629 bytes
I'm looking for RTFM pointers.  

I currently have a Fortran application using $READ and $WRITE
(SYS$READ and SYS$WRITE, actually) to read and write file blocks.  The
higher-level application supports the idea that I/O may be
asynchronous for better throughput by overlapping computing with I/O.

I've read much of the RMS Reference, and concluded that the
asynchronous support there is quite limited, because it only allows
one operation at a time (on a FAB, or RAB, I forget exactly which).
For our application it is not feasible to have multiple FABs or RABs
for a single file.

I've also heard that it may be possible to use $QIO for I/O to and
from disk files, but it's not at all obvious from the various manuals
how one accomplishes this without requiring xxx_IO privileges and
different code for different disk drivers.  It's also unclear how RMS
fits into the $QIO picture, in terms of the usual information about
the file (modification dates, etc.).

If you can send information or point me to the manual sections which
discuss this stuff, I'd appreciate it very much.$$
-- 
INET: mrl@uai.com      BANG: uunet!uaisun4!mrl      ICBM: USA; Lower Left Coast
  "You can get a crowd to clap at a phone number, if the inflection is right."
   -- Dave Ross
Technical Details
Message-ID: <MRL.92Aug11103051@sun4.uai.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!uaisun4!mrl

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec
Path: arc1-ca.pugleaf.net!sparky!uunet!uaisun4!mrl
From: mrl@uai.com (Mark R. Ludwig)
Subject: How to read/write VMS (RMS?) disk blocks asynchronously
Message-ID: <MRL.92Aug11103051@sun4.uai.com>
Sender: mrl@uai.com (Mark R. Ludwig)
Organization: Universal Analytics, Inc., Torrance (LA), CA
Date: 11 Aug 92 10:30:51
Lines: 26