	Building the FILEDEF System.
	---------------------------

     The operation of the FILEDEF system is described in the
documentation file FILEDEF.DOC. The purpose of this note is to
give instructions on building the package.

     Assemble the open subroutine patch:

	MAC OPEN.POB=OPEN.PAT

     Extract the open subroutine from the system library, apply
the patch and replace the module:

	SET /UIC=[1,1]
	LBR OPENF77.ORG=SYSLIB/EX:$OPEN
	PAT OPEN.OBJ=OPENF77.ORG/CS:155507,[g,m]OPEN.POB/CS:127615
	LBR SYSLIB/RP=OPEN.OBJ
	SET /UIC=[g,m]

Here [g,m] is the UFD containing the FILEDEF files.
(If the FORTRAN object time system is in a different library,
say F77OTS.OLB, then you should reference this rather than the
system library.) Note that the original file OPENF77.ORG can be
used in any FORTRAN program that wishes to use files without
going via the FILEDEF system. The FILEDEF system itself uses
these files to avoid an infinite loop.

     FILEDEF requires a FORTRAN-77 compiler, installed as F77,
and runs on RSX-11M V4.0 only. To build the system, type:

	@FILEDEF ALL

     You may want to inspect the parameter file FILPARAM.INC
before you do this in order to set the limits on logical unit
and terminal numbers. Individual members of the system may
be compiled by just typing @FILEDEF and answering the questions.

     Install the tasks that run the system:

	INS FILEDEF	(installs as ...FIL)
	INS FILMAN	(installs as FIL...)

     Initialise the system by running FILINI:

	RUN FILINI

This initialisation should be done each time the system is booted,
in order to clear any assignments that may not have been properly
cleared, eg. by a system crash. The startup command file is the
best place to do this.

     If you have any problems, please drop me a line:

	Steve Thompson
	School of Chemical Engineering
	Olin Hall
	Cornell University
	Ithaca NY 14853
	(607) 256 4616	(office)
	(607) 256 3895	(computer room)

     Good luck!

