[Info-vax] Oracle Database vs Oracle/Rdb

John Reagan xyzzy1959 at gmail.com
Sat Jul 13 00:30:11 EDT 2019


On Wednesday, June 26, 2019 at 10:12:58 PM UTC-4, Arne Vajhøj wrote:
> On 6/26/2019 9:29 PM, Dave Froble wrote:
> > On 6/25/2019 7:35 PM, Arne Vajhøj wrote:
> >> On 6/25/2019 1:35 PM, Bob Koehler wrote:
> >>> In article <8e15f0b2-a4a1-4a28-bad0-a687f093e096 at googlegroups.com>,
> >>> Neil Rieck <n.rieck at sympatico.ca> writes:
> >>>> Question: I did not think that Pascal had builtin RMS support (as in
> >>>> direct=
> >>>> ly opening/reading INDEXED files without resorting to system calls).
> >>>> At lea=
> >>>> st this was the case back when I last used VAX Pascal. Was builtin
> >>>> RMS supp=
> >>>> ort added to Pascal during the Alpha days -or- are we using different
> >>>> defin=
> >>>> itions for "builtin"?
> >>>
> >>>     Keyed-indexed files are not all of RMS.  The Pascal I/O routines in
> >>>     it's run-time libraries sit on top of RMS, whether they provide
> >>>     direect support for keyed-indexed or not.
> >>
> >> RMS is used in two meanings:
> >> * a technically correct of everything going through RMS (which is almost
> >> all IO)
> > 
> > Well, that isn't correct.  While RMS is very available on VMS, there are 
> > other types of I/O.  Arne may not know about them, but they do exist.
> 
> It is possible to use SYS$QIO(W) but I suspect that >99% of all
> IO goes through RMS.
> 

FYI:

FAB$V_UFO

User file open; indicates that RMS operations for this file are limited to opening
it or creating it. To perform additional processing of the file, invoke the $QIO
system service using the channel number returned by RMS in the status value
field (FAB$L_STV). This channel is assigned the access mode of the caller unless
otherwise specified by the FAB$V_CHAN_MODE bits.

If you specify this option, you must set the FAB$B_SHR field FAB$V_UPI bit
option unless the file is not shared (FAB$B_SHR field FAB$V_NIL option is set).
For the Create service, the end-of-file mark is set to the end of the block specified in the FAB$L_ALQ field on input. For either the Open or Create services, the FAB$W_IFI field is set to 0 on return to indicate that RMS cannot perform any more operations (including the Close service) on the file. If you set the FAB$V_UFO option with the Open or Create service, the channel needs only to be deassigned when you finish with the file.

This option corresponds to the FDL attribute FILE USER_FILE_OPEN and it is
not supported for DECnet for OpenVMS operations.




More information about the Info-vax mailing list