[comp.os.vms] pascal code for using $RMS routines.

DNEIMAN@carleton.EDU (07/15/87)

Hello world. We're writing a PASCAL application in which we'd like to use
$RMS directives to open and copy files.  However, we're stuck at the point
at which we try to open a file;  we get "invalid FAB" or "bad XAB address"
errors.  Can you help?  Please send a pascal fragment which sets up a FAB
and opens a file successfully.  Any and all suggestions, admonishments, tips,
hints, and warnings will be appreciated.

Thank you.  Please send directly to:

dneiman@carleton.edu

<Dave Neiman, Carleton College, Northfield, MN, 55057, USA, (507) 663-4277>
















































P.S.  I suspect we're not supplying the proper address of the filename, although
we've tried several approaches.  We're running VMS 4.5 and Pascal 3.5.