	CLASSIFY

     Utility to establish a file as classified TOP_SECRET, SECRET, 
CONFIDENTIAL, or UNCLASSIFIED using space in the file header that
is unused for other purposes in VMS V3.0.  The User Characteristics
longword in the file header is used to store a 2 bit code indicating
the classification.  

WARNING: Since this interface into the file header is not supported, VMS 
code may use these 2 bits in the file header in a future release of VMS.
Bits 0-17 of the User Characteristics longword are in use in VMS V3.0;
bits 24 and 25 are used to store the classification of a file.

     CLASSIFY is intended to be called as a DCL command.  The following
commands are supported by CLASSIFY:

		$ CLASSIFY/TOP_SECRET  DBA1:[USER]X.FIL
			marks DBA1:[USER]X.FIL as top secret

		$ CLASSIFY/UNCLASSIFIED ABC.TXT
			marks ABC.TXT (default directory) as UNCLASSIFIED

		$ CLASSIFY/CONFIDENTIAL [SMITH]XYZ.DAT
			marks [SMITH]XYZ.DAT (default device) as CONFIDENTIAL

		$ CLASSIFY/SHOW [SMITH]XYZ.DAT		!Display classification
		Classification:  CONFIDENTIAL


	In addition,a procedure that can be called from any VAX-11 image is 
	  included to show the classification of a file to the calling routine.



     Files of CLASSIFY:

		CLASSIFY.MAR	Source code for the CLASSIFY utility

		CLASSIFY.CLD	Command Language Editor file for the CLASSIFY
					DCL command

		CLASSPROC.MAR	Procedure that can be called from a program
				    written in any VAX-11 language in order
				    to classify a file (input to CLASSPROC) as
				    UNCLASSIFIED, CONFIDENTIAL, SECRET, or
				    TOP_SECRET.
				   



     Instructions for installing CLASSIFY:

	1. Modify the contents of CLASSIFY.CLD to describe the disk and 
	directory into which the CLASSIFY image has been copied.

	2. Assemble and link CLASSIFY as follows:

		$ MACRO CLASSIFY
		$ LINK/NOTRACE CLASSIFY

	3. In the context of the user's process:

		$ SET COMMAND CLASSIFY.CLD

	   The DCL CLASSIFY command is ready for use.

	4. In order to use the CLASSPROC procedure, assemble CLASSPROC and
	link it with the calling image, e.g.

		$ MACRO CLASSPROC
		$ FORTRAN PROG
		$ LINK PROG,CLASSPROC


	CLASSPROC INPUTS and OUTPUTS:

	INPUTS:		argument	Address of the character string
					descriptor for the file for which the
					classification is to be returned.

	OUTPUTS:	R0  (or function value in FORTRAN) (hex values shown)

				08000001	UNCLASSIFIED
				08000003	CONFIDENTIAL
				08000005	SECRET
				08000007	TOP_SECRET

