Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!husc6!bloom-beacon!think!ames!sdcsvax!ucbvax!carleton.EDU!DNEIMAN
From: DNEIMAN@carleton.EDU
Newsgroups: comp.os.vms
Subject: pascal code for using $RMS routines.
Message-ID: <8707182047.AA15373@ucbvax.Berkeley.EDU>
Date: Wed, 15-Jul-87 13:32:00 EDT
Article-I.D.: ucbvax.8707182047.AA15373
Posted: Wed Jul 15 13:32:00 1987
Date-Received: Sun, 19-Jul-87 01:39:11 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 63


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


















































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.