1	Security
	SECURITY is a VMS utility function controlled by NoteBook, the VAX
Professional Notebook.  Its behavior is controlled by SYS$VPWFILES:VPW.TLB. 
The SECURITY function is a system supported VPW function which will allow the
user to maintain and use the security access list.  To use SECURITY the 
command    SECURITY:=="$SYS$SYSDEVICE:[VPW]NOTEBOOK SECURITY" must be defined.
This is automatically done at logon for the SECURITY account.  SECURITY uses
the data base SECURITY.LOG on the VAX SECURITY account.  SECURITY gives 
the user the options to: 

	1.  Add a new employee to the security access list.
	2.  Display the access list based on various search criteria
	3.  Delete an access list entry.
	4.  Modify an existing access list entry.
	5.  Exit.

To invoke SECURITY after exiting the VPW Security menu, type SECURITY.

2	NONE


	No Help is Available at This Time
2	EMPLOYEE_NAME
	Each SECURITY entry has an employee name up to 24 characters long.
The format of entry is  Last Name, First Name, Initial.  It is important
to keep the capitalization of all entries consistant as lowercase letters
are not treated the same as upper case letters.  If a carriage return is 
entered for the last name, SECURITY returns to the menu. A ^Z (control-Z) 
on any input will also force a return to the menu.
2	EMPLOYEE_NUMBER
	Each employee should have an employee number consiting of up to 4
digits or letters.
2	BIRTH_DATE
	Each employee needs a birth date entry in the form DD-MMM-YYYY.  The
year entry needs to be a 4 digit entry, ie 1983.  Months must be entered in
upper case.

	Examples:	01-JAN-1982	not	1-JAN-1982
			15-MAR-1982	not	15-mar-1982
			30-NOV-1982	not	30-NOV-82
2	CLEARANCE_LEVEL
	If the employee has a clearance, it must be one of the allowed list
of recognized clearances.
	
		N	None
		Q	Q-cleared, but no access to Sigma-11 information
		Q11	Q-cleared, acces to Sigma-11 information
		WD	Q/Q11 cleared with access to weapons data

2	CLEARANCE_DATE
	Each employee needs a Clearance date entry if they have a clearance.
The format is   MM/DD/YY because a previous security director wanted it this
way. The "/" must be entered in the locations shown.

	Examples:	01/10/82	not	1/10/82
			10/01/82	not	10/1/82

SECURITY will narrow mindedly insist on the correct format and not make an
entry if the "/" are not in the right places.  The "/" is called a 
protected field, ie the only entry allowed at that point is a "/"
2	CLEARANCE_CODE
	This is a funny reference number given to us when an employee gets
a clearance.
2	DEPARTMENT
	Each employee can have a department code, FED, DMS1, DMS2, etc
of up to 4 characters.
2	SOC_SEC_NUMBER
	The entry format is XX-XXX-XXXX. The "-" must be in the correct
places so leading zeros must be entered.
2	COMMENT
	The comment field in SECURITY may be up to 40 characters long.
	Its entry is optional.
2	DATA_FILE

	The data for SECURITY is kept in SYS$LOGIN:SECURITY.LOG.  This
file may be edited, BUT the locations of the various starting positions
within each record MUST NOT BE CHANGED.  If you edit the file, you do 
so at your own risk.

2	ADD
	When you enter ADD mode, SECURITY prompts for the
following information.

	Name (Last, First, Intitial)     24 characters max
	Employee number                   4 characters max
	Birth Date                       11 characters max
	Clearance level                   3 characters max
	Clearance date [mm/dd/yy]         8 characters max
	Clearance Code #                  8 characters max
	Social Security #                11 characters max
	Department                        4 characters max
	Security Status Comment          42 characters max

SECURITY will reprompt if the length of the entered data exceeds
the maximum allowed for the entry.  If a RETURN is entered in
response to the Name entry request, SECURITY returns to
the menu page.  When an entry is completed, SECURITY will display
the entry in its entirity and ask if it is correct.  If a Y[es]
is answered, it will be entered in to the data file.  A N[o]
returns you to the 'Name' input prompt. 
2	MODIFY
     SECURITY allows you to modify an existing entry. When
modify mode is entered, it prompts for a search string and then
starts displaying all records matching that locator. When the
proper locator is found it display the record and goes into enter
mode. Entering just a carriage return at each prompt will leave
the entry unchanged. Modify data fields as desired, and when data
entry is complete, the completed record will be displayed again
for verification. If the modification is accepted, the record is
updated. If any updates are done which change the employee name,
the file will be sorted before returning to the main menu. 
2	DELETE
In delete mode, you are prompted for a search string to locate an
entry to delete. Each entry which matches the entered string will
be displayed together with a prompt asking if that entry should
be deleted. If a Y[es] is answered the entry will be deleted. A
^Y during the delete process will wipe out all deletions made.
All deletions become permanent if a RETURN is entered in response
to the 'Search for:' prompt. 
2	DISPLAY
In display mode, you select a display format and then select records to display
by entering a search string. If a '*' is entered, all records in the SECURITY
file are displayed. The search string entered can be just the desired name,
part of the name, a unique search string (ie clearance level) or some
combination of search strings each seperated by a "|" from the other search
strings. 
2	EXIT

EXIT will leave cause SECURITY to exit and the screen will be 
erased.  You also can ^Y out of SECURITY at any time it is not sorting or
deleting entries.
2	SEARCH_STRINGS

     SECURITY prompts for a search string in DELETE, DISPLAY or MODIFY mode.
At this point, either a simple name (or part of one) or a complex search
string may be entered. A complex search string consists of multiple search
strings seperated by "|"s. For example if you know the access list contains
entries for several people named Smith and that the SMITH of interest is in
DMS you might enter SMITH|DMS as the search string. Only the data for the
entry with the last name Smith, and with the Department DMS would be found.
Likewise to list all people with Q11 clearances, just enter Q11. 

You also have the option of selectively searching for entries only within
certain fields (such as name, birthdate, clearance, etc.). Multiple search
strings should not be used for this unless all search strings are expected to
be in one of the fields selected. 
