[mod.computers.vax] Accessing files by file ID from VAX Pascal

Cc.Kaczmarczik@A20.CC.UTEXAS.EDU (Mic Kaczmarczik) (08/18/86)

I am working on an application (a print symbiont) in VAX Pascal that
requires me to access files by file and directory id, instead of the
RMS file name.  This requirement is due to the fact that print files
that have been spooled to an intermediate disk are not entered in a
directory!  Hence, there's no directory path to the file, and an OPEN
on the file will fail.

So, the $64,000 question is: is there any way to open a VAX Pascal
file variable (i.e. of type TEXT) by file ID instead of file name?  I
have tried using the USER_ACTION parameter of the OPEN procedure to
tinker with the RMS blocks used to $OPEN the file, but all attempts
have generated internal bugchecks from the VAX Pascal run-time
library.

I'd appreciate any pointers or suggestions about how to go about this.
If there in fact isn't a way to open a Pascal text file by file ID,
does anyone have some examples of using RMS from VAX Pascal that
they'd be willing to share?

Cheers,

Mic Kaczmarczik
User Services Digital Support Group
U.T. at Austin Computation Center
ARPA: cc.kaczmarczik@a20.cc.utexas.edu
UUCP: ...!ihnp4!seismo!ut-sally!ut-ngp!mic
-------