1	KMSBOOK

	The Staff PhoneBook is a VMS utility function controlled by NoteBook, 
the VAX Professional Notebook.  Its behavior is controlled by the text
library, SYS$VPWFILES:VPW.TLB. The PhoneBook function is a system supported
VPW function which will allow the user to maintain and use a list phone
numbers and addresses which can be recalled on command.  PhoneBook can
either be used interactively or it can be used as a VMS foreign command. 
To may be invoked either from the VAX Professional Workstation menu, or as
a command, PHONEBOOK, PLIST, and ALIST. The command, PhoneBook, is made
available at LOGIN.  The Staff Phone Book gives the user the option to: 

	1.  Add new phone numbers to the list.
	2.  Display phone numbers/addresses for a given last name.
	3.  Delete phone number entries.
	4.  Modify existing phonebook entries
	5.  Exit.


  KLIST                 Enter interactive mode with the Staff Phone Book.
  KLIST  search_string  Display all extensions belonging to entries
                        with the specified name_string.
2	DEPARTMENT

Each staff listing in the phone book, can have up to a 10 character 
department name.  The department names should be entered as

ADMIN		Administration		OPRNS		Operations
AERO		KMS Aero Space		PLANT		Plant maintenance
COMP		IBM Computer		PLSMA		Theory (plasma)
CONS		Consultant		PRES		President
CTC		Covalent		PRSNL		Personell
DMS		Material Sciences	PURCH		Purchasing
ENG		Engineering		RAD SAF		Radiation Safety
FEL		Free Electron Laser	RECEPT		Receptionist
FIN		Finance			SECURITY	Security
FUS		Fusion Experiments	STAFF		Presidents's Staff
LAS		Laser group		THRY		Theory (simulation)
OBS		On Board Systems	
2	NAME
	Each Staff Phone Book entry has a first and last name.  The last
name may be up to 15 characters long and the first name may be up to 10
characters long.  If a carriage return is entered for the last name, the
Staff Phone Book returns to the menu. A ^Z (control-Z) on any input will
also force a return to the menu.
2	NUMBER
	Each staff phone number consists of up to 14 characters.
The required form is (xxx)-xxx-xxxx for uniformity of displays.
The (   )-   -  must be entered
2	EXTENSION

	Each staff member can have up to two extensions.  Additional
extensions or numbers can be entered in the comments field.
2	Each staff member resides in building 1 or building 2.
If (for any reason) this is not the case, enter the alternate
location in the comments field
2	Address
	The employee's home address consists of:

		Street Address:	30 character maximum
		City		15 character maximum
		State		 2 character maximum
		ZIP		 5 character maximum

All address entries are optional.
2	COMMENT
	The comment field may be up to 40 characters long.  Its entry 
is optional.
2	DATA_FILE

	The data for the Staff Phone Book is kept in 

		SYS$SYSVPWFILES:KMSPHONES.FIL

2	KLIST

The command 

	KLIST search_string

will produce the output (if the search string is found) of the form

	Last_name, First_name (Bldg)   X Ext1 Ext2     Comment

For example, the command  KLIST DOWNWARD   might produce the output

	Downward,James (2)          X362 364  

Note that the search string could also have been James and this
record (with possibly others) would have been displayed.
2	ADD
	When you enter ADD mode the Staff Phone Book prompts for the
following information.

	Last name			 15 characters max
	First name			 10 characters max
	Department			 10 characters max
	Work Extension 1		  3 characters max
	Work Extension 2		  3 characters max
	Building #			  1 character  max
	Home Address			 30 characters max
	Home City			 15 characters max
	Home State			  2 characters max
	Home ZIP			  5 characters max
	Home Phone number (xxx)-nnn-mmmm 14 characters max
	Comment				 40 characters max

The Staff Phone Book will reprompt if the length of th entered data exceeds
the maximum allowed for the entry.  If a RETURN is entered in response to
the Last Name entry request, the Staff Phone Book returns to the menu page.
When an entry is completed, PhoneBook 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 'Search for:' input
prompt. 

2	MODIFY      

The Staff Phone Book 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 either the first or
last 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 (address or phone list) and
then select records to display by entering a search string. If a '*' is
entered, all records in the phonebook are displayed. The search string
entered can be just the desired last name, part of the last name, a unique
search string (ie a company name) or some combination of search strings
each seperated by a "|" from the other search strings. 
2	EXIT 

EXIT will leave cause the Staff Phone Book to exit and the screen will be
erased.  You also can ^Y out of the Staff Phone Book at any time. 

2	SEARCH_STRINGS 

     When used to display phone numbers or addresses, The Staff Phone Book either
accepts a search string as part of the command line or prompts for one in
DELETE, DISPLAY or MODIFY mode. At this point, either a simple last 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 Staff Phone Book contains entries for several people
named Smith and that the SMITH of interest works for KMS you might enter
SMITH|DMS as the search string. Only the data for the entry with the last
name Smith, and in the DMS department would be found. Likewise to list all
people working for the same department (you forgot the person's name), just
enter the department name.

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