Google
 

Trailing-Edge - PDP-10 Archives - decus_20tap5_198111 - decus/20-0137/bank/bank.rno
There are 3 other files named bank.rno in the archive. Click here to see a list.
.PAPER SIZE 58
.NOFILL
.SPACING 1
.CENTER
WESTERN MICHIGAN UNIVERSITY
.CENTER
COMPUTER CENTER
.SKIP 2
.LEFT MARGIN 10
.RIGHT MARGIN 60
LIBRARY PROGRAM _#3.9.1
.SKIP 1
CALLING NAME :##BANK
.SKIP 1
PREPARED BY  :##RICHARD HOUCHARD*
.SKIP 1
PROGRAMMED BY:##RICHARD HOUCHARD
.SKIP 1
APPROVED BY  :##JACK#R.#MEAGHER
.SKIP 1
DATE:##FALL, 1974
.SKIP 8
.CENTER
BANK
.CENTER
DATA MANAGEMENT PACKAGE
.SKIP 10
.FILL
ORIGINAL SYSTEM REQUIREMENTS PREPARED BY:##SAM ANEMA, RUSSELL BARR,
BILL GRANET, BERENICE HOUCHARD, DICK HOUCHARD, AND CHARLES LANE JR.
.SKIP 3
*##WITH ASSISTANCE FROM BERENICE HOUCHARD, JAMES E. NADONLY,
AND DELORES VLAHON.
.LEFT MARGIN 0
.RIGHT MARGIN 70
.TITLE BANK V1
.PAGE
.CENTER
BANK
.CENTER 
DATA MANAGEMENT PACKAGE
.SKIP 3
PURPOSE
.BREAK
-------
.SKIP 1
.INDENT 5
THE BANK SYSTEM WAS WRITTEN TO ENABLE USERS WITH LARGE DATA SETS TO DO
MOST OF THEIR OWN DATA MANIPULATION, AND TO FACILITATE FURTHER
STATISTICAL ANALYSIS OF THE DATA.
.SKIP 3
DESCRIPTION
.BREAK
-----------
.SKIP 1
.INDENT 5
BANK IS A DATA MANAGEMENT SYSTEM DESIGNED FOR INTERACTIVE TERMINAL USE.
DIRECTIONS TO THE PROGRAM ARE ENTERED ON ONE OR MORE LINES, WITH THE
ONLY PROMPTING BEING A QUESTION MARK INDICATING THE PROGRAM'S READINESS
TO ACCEPT INSTRUCTIONS. OPTIONS, SPECIFICATIONS, AND DETAILED
EXPLANATIONS ARE AVAILABLE BY SIMPLY TYPING "HELP". THE PROGRAM HANDLES
FIXED (INTEGER), FLOATING (DECIMAL), AND ALPHANUMERIC DATA, AND HAS THE
ABILITY TO EASILY CHANGE DATA FROM ONE OF THESE MODES TO ANOTHER.  DATA
IS IN A TABLE FORM, WITH THE COLUMNS CORRESPONDING TO VARIABLES AND ROWS
TO OBSERVATIONS. VARIABLES MAY BE IDENTIFIED BY EITHER VARIABLE NUMBERS,
OR USER SPECIFIED VARIABLE NAMES.  TO ELIMINATE FORMATTING PROBLEMS AND
DECREASE DATA RECOVERY TIME, BANKS ARE WRITTEN AS RANDOM ACCESS BINARY
FILES.  THE MAIN FEATURES OF THE BANK PROGRAM MAY BE SUMMARIZED IN THE
FOLLOWING LIST:
.SKIP 1
.LEFT MARGIN 15
.INDENT -10
CREATE A BANK FILE:##USER MAY CREATE A BANK FILE FROM ANY ASCII
FILE.  INFORMATION OTHER THAN ACTUAL DATA WHICH WILL BE INCLUDED
IN THE BANK ARE:##VARIABLE NAMES, DESCRIPTIONS, AND MODES.
.SKIP 1
.INDENT -10
CHANGE DATA:##USER MAY REPLACE DATA LOCATED IN THE BANK WITH NEW
VALUES OF THE SAME MODE.  VARIABLE NAMES AND DESCRIPTIONS MAY ALSO 
BE MODIFIED.  CHANGES MAY BE ACCOMPLISHED ONE VALUE AT A TIME
OR BY GROUPS.
.SKIP 1
.INDENT -10
DELETE DATA:##USER MAY DELETE VARIABLES OR OBSERVATIONS.
.SKIP 1
.INDENT -10
ADD OBSERVATIONS:##USER MAY ADD OBSERVATIONS TO A BANK FROM THE
TERMINAL.
.SKIP 1
.INDENT -10
OUTPUT DATA:##THE USER MAY OUTPUT THE DATA TO THE TERMINAL, DISK,
MAGTAPE, DECTAPE, LINEPRINTER OR CARDS.
.SKIP 1
.INDENT -10
MERGE BANKS:##USER MAY COMBINE TWO BANKS INTO ONE, BY SIMPLY APPENDING
THE SECOND BANK TO THE FIRST; OR AS AN UPDATING PROCESS, WHERE
OBSERVATIONS OF A RESIDENT BANK MAY BE MODIFIED BY DATA IN AN UPDATING
BANK.
.PAGE
.INDENT -10
PRINT OR TYPE:##USER MAY OUTPUT DATA, SUBSETS OF DATA, OR  INFORMATION
ABOUT THE BANK TO EITHER THE LINEPRINTER OR THE TERMINAL.
.SKIP 1
.INDENT -10
SORT DATA:##USER MAY SORT THE BANK INTO ASCENDING ORDER BASED ON
ONE OR MORE SPECIFIED VARIABLES.
.SKIP 1
.INDENT -10
TRANSFORM DATA:##USER MAY CREATE NEW VARIABLES OR TRANSFORM EXISTING
VARIABLES.  STATEMENTS HAVE THE FORM OF A FORTRAN ARITHMETIC STATEMENT.
.SKIP 1
.INDENT -10
SINGLE VARIABLE STATISTICS:##USER MAY REQUEST SINGLE VARIABLE STATISTICS
ON SPECIFIED VARIABLES, AND SUBSETS OF OBSERVATIONS. STATISTICS INCLUDE:
##MEAN, MEDIAN, MODE, MAXIMUM, MINIMUM, STANDARD DEVIATION, VARIANCE,
KURTOSIS, AND SKEWNESS.  THE STATISTICS WILL BE OUTPUT AUTOMATICALLY TO
THE LINEPRINTER UPON PROPER EXIT FROM THE PROGRAM.
.PAGE
.LEFT MARGIN 0
.INDEX CREATION OF A BANK
CREATION OF A BANK
.BREAK
------------------
.SKIP 1
.INDENT 5
THE FIRST INFORMATION REQUESTED WILL BE THE NAME OF THE BANK.  TO CREATE
A BANK, A NAME (UP TO 5 CHARACTERS NO EXTENSION NECESSARY) NOT ALREADY
ASSIGNED TO ANOTHER BANK SHOULD BE ENTERED.  IF THE SAME NAME HAS NOT 
BEEN USED PREVIOVSLY, THE USER WILL BE INFORMED THAT A BANK IS TO BE
CREATED.  THE FOLLOWING INFORMATION WILL THEN BE REQUESTED:
.SKIP 1
.INDENT 5
FIRST THE USER WILL BE ASKED TO SUPPLY THE INPUT DATA FILE FOR THE BANK.
THE DEVICE FOLLOWED BY A COLON, AND A FILE NAME (IF NECESSARY) SHOULD BE
ENTERED.  DEFAULT IS "DSK:INPUT.DAT".
.SKIP 1
.INDENT 5
THE USER WILL THEN BE INSTRUCTED TO SPECIFY THE EXACT NUMBER OF
VARIABLES TO BE USED IN THE BANK.  ANY NUMBER OF VARIABLES BETWEEN 1 AND
500 MAY BE CREATED.  THE NUMBER OF VARIABLES ENTERED AT THIS TIME DOES
NOT LIMIT THE CREATION OF NEW VARIABLES IN THE BANK AT A LATER TIME.
.SKIP 1
.INDENT 5
WHEN REQUESTED, THE USER SHOULD ENTER THE FORTRAN FORMAT OF THE INPUT
DATA ENCLOSED IN PARENTHESES.  UP TO 600 CHARACTERS MAY  BE USED
FOR THE FORMAT.  IN ADDITION TO LOCATING THE DATA, THE FORMAT IS ALSO
USED TO DETERMINE THE MODES OF THE VARIABLES.  ONLY THE FOLLOWING
FORMAT ARE ALLOWED:  A,I,F,G,E,D,O,AND X.  BOTH G AND D WILL BE TREATED
AS SINGLE PRECISION FLOATING POINT VARIABLES.  IF THE FORMAT IS LOCATED
IN A FILE UNDER THE PROJECT-PROGRAMMER THE BANK IS BEING RUN FROM, THE
USER MAY INDICATE THE FILE BY TYPING AN @ AND THE FILENAME.
.SKIP 1
.INDENT 5
FINALLY THE USER WILL BE ASKED TO ENTER NAMES, DESCRIPTIONS AND MISSING
DATA SYMBOLS.  VARIABLES WILL HAVE DEFAULT NAMES (V1, V2, V3...), AND
DEFAULT DESCRIPTIONS (ORIGINAL VARIABLE NUMBER 1 - ORANGE.BNK).  IF THE
DEFAULT INFORMATION IS NOT TO BE CHANGED THE USER SIMPLY TYPES A
 CARRIAGE RETURN.
.SKIP 1
.INDENT 5
TO CHANGE THE INFORMATION ABOUT A PARTICULAR VARIABLE, THE USER RESPONDS
BY TYPING THE VARIABLE NUMBER, AN EQUAL SIGN (=), THE NEW NAME FOR THE
VARIABLE, A SEMICOLON (;), THE NEW DESCRIPTION, AND A SLASH FOLLOWED BY
A MISSING DATA SYMBOL.  EXAMPLE:
.SKIP 1
.INDENT 5
17=SEX;SEX OF RESPONDANT/0
.SKIP 1
THE NAME GIVEN TO VARIABLE 17 IS SEX, THE DESCRIPTION WILL BE
"SEX OF RESPONDANT", AND THE VALUE ZERO WILL BE TREATED AS MISSING
DATA.  THE DEFAULT NAMES AND DESCRIPTIONS WILL BE USED UNLESS CHANGED.
.SKIP 1
.LEFT MARGIN 5
.INDENT 5
IF THE NAME IS TO BE CHANGED, IT MUST FOLLOW IMMEDIATELY AFTER THE =
SIGN WITH NO INTERVENING SPACES.  THE NAME MAY BE UP TO FIVE CHARACTERS
LONG. THE FIRST CHARACTER MUST BE A LETTER, AND ALL OTHER CHARACTERS
MUST EITHER BE LETTERS OR NUMBERS (DASHES, APPENSAND, SLASHES, ETC., ARE
NOT PERMITTED). THERE ARE A FEW RESERVED WORDS WHICH MAY NOT BE ASSIGNED
AS VARIABLE NAMES, THEY ARE:##"OBS", "STOP", "HELP", "ALL", OR "EMPTY".
.PAGE
.INDENT 5
DESCRIPTIONS OF THE VARIABLES ARE ENTERED FOLLOWING THE NAME (IF ONE WAS
GIVEN).  DESCRIPTIONS ARE PRECEDED BY A SEMICOLON AND MAY BE UP TO 40
CHARACTERS LONG.
.SKIP 1
.INDENT 5
MISSING DATA SYMBOLS ARE ENTERED PRECEDED BY A SLASH (/).  UP TO FIVE
MISSING DATA SYMBOLS MAY BE ENTERED PER VARIABLE.  MISSING DATA MUST
AGREE IN MODE WITH THE VARIABLE FOR WHICH IT IS DEFINED, THUS
ALPHANUMERIC TYPE VARIABLES (VARIABLE DEFINED WITH AN "A" FORMAT) MUST
HAVE THE MISSING VALUE ENCLOSED IN QUOTES.  THE USER MAY ALSO DEFINE A
RANGE OF VALID DATA FOR EACH VARIABLE.  ANY VALUE NOT WITHIN THE RANGE
OF VALID DATA WILL BE TREATED AS MISSING.  VALID DATA RANGES ARE ENTERED
BY TYPING A SLASH (/), THE PHRASE "VALID:", AND THE EXTREMES OF THE
VALID RANGE SEPARATED BY A MINUS (-).  VALUES WHICH HAVE BEEN DENOTED
AS MISSING WILL BE REPLACED BY THE OCTAL CONSTANT 400000000000 IN THE
BANK.
.SKIP 1
.LEFT MARGIN 0
.INDENT 5
VARIABLE NAMES, DESCRIPTIONS, OR MISSING DATA MAY ALSO BE DEFINED
FOR RANGES OF VARIABLES.  RANGES OF VARIABLES ARE DEFINED BY TYPING THE
EXTREMES OF THE RANGE SEPARATED BY A MINUS (-) AND THEN AN EQUAL SIGN.
VARIABLE DESCRIPTIONS AND MISSING DATA SYMBOLS ARE DEFINED AS BEFORE,
HOWEVER, WHEN SPECIFYING MISSING DATA SYMBOLS FOR RANGES OF VARIABLES,
ALL VARIABLES IN THE RANGE MUST HAVE THE SAME MODE.  TO ELIMINATE THE
PROBLEM OF TWO VARIABLES HAVING THE SAME NAME, NAMES DEFINED IN RANGES
MUST CONTAIN 1 OR 2 QUESTION MARKS (?). STARTING WITH THE FIRST VARIABLE
IN THE LIST THE NUMBER 1 WILL BE SUBSTITUTED FOR THE QUESTION MARKS, A
NUMBER 2 WILL BE SUBSTITUTED FOR THE QUESTION MARKS IN THE SECOND
VARIABLE, ETC.  EXAMPLE:
.SKIP 1
.NOFILL
   2-11=VAR??;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
.SKIP 1
THE ABOVE COMMAND IS EQUIVALENT TO THE FOLLOWING COMMANDS:
.SKIP 1
.LEFT MARGIN 5
2=VAR1;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
3=VAR2;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
4=VAR3;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
5=VAR4;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
6=VAR5;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
7=VAR6;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
8=VAR7;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
9=VAR8;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
10=VAR9;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
11=VAR10;THIS VARIABLE HAS TO DO WITH EVALUATION /VALID:1-8
.SKIP 1
.LEFT MARGIN 0
.FILL
.INDENT 5
WHEN THE LAST INFORMATION ABOUT THE VARIABLES HAS BEEN ENTERED,
THE USER SHOULD RESPOND WITH A CARRIAGE RETURN OR A CONTROL Z (_^Z).
IF THE NAMES AND DESCRIPTIONS OF THE VARIABLES HAVE BEEN ENTERED INTO
AN ASCII FILE PREVIOUSLY AND ARE LOCATED UNDER THE PROJECT-PROGRAMMER
NUMBER BANK IS BEING RUN FROM, THE USER MAY INDICATE THE FILE IS TO BE
USED BY TYPING @ AND THE NAME OF THE FILE.  WHEN FINISHED PROCESSING 
THOSE NAMES, THE USER MAY MAKE CHANGES, ACCESS A DIFFERENT FILE, OR
INDICATE THE PROGRAM IS TO PROCEED BY TYPING A CARRIAGE RETURN OR
CONTROL Z (_^Z).
.PAGE
.NOFILL
EXAMPLES:
.SKIP 1
BANK? GOGO
.SKIP 1
CREATING A NEW BANK TO BE NAMED - GOGO.BNK
INPUT? OUT.DAT
.SKIP 1
HOW MANY VARIABLES? 12
.SKIP 1
ENTER FORMAT ENCLOSED IN PARENTHESES
(I,F,F,F,2I,5X,I2,F/4F)
.SKIP 1
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?#1=SOCSC;SOCIAL SECURITY OF INDIVIDUAL/0
?#2-4=PNTS?;POINTS OF DIFFERENT PARTS OF TEST/VALID:1-99
?#5-7=SCRS?;SCORES ON PARTICULAR OPTIONS OF TESTS/VALID:1-10/5/6
?#8=AGE;AGE IN MONTHS/0
?#9=WEIGHT;WEIGHT OF RESPONDANT IN POUNDS/0
?#10=HEIGHT;HEIGHT OF RESPONDANT IN INCHES/VALID:48-84
?#11=IQ;IQ AS MEASURED BY SCHOOL IN 9TH YEAR/0
?#12=GPA;GRADE POINT AVERAGE OF STUDENT 4=A/VALID:0-4
? _^Z
.SKIP 2
BANK:##GOGO.BNK#####CREATED:##9-JUL-74
HAVING ##12 VARIABLES, AND###413 OBSERVATIONS
.SKIP 1
? [PROGRAM NOW AWAITING FURTHER INSTRUCTIONS]

.SKIP 6
BANK? DATA
.SKIP 1
CREATING A NEW BANK TO BE NAMED - DATA.BNK
INPUT? DATA.DAT
.SKIP 1
HOW MANY VARIABLES? 50
.SKIP 1
ENTER FORMAT ENCLOSED IN PARENTHESES
(5F/5F/20I2/20I4)
.SKIP 1
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?
.SKIP 2
BANK:##DATA.BNK#####CREATED:##23-SEP-74
HAVING###50 VARIABLES, AND###624 OBSERVATIONS
.SKIP 1
? [PROGRAM NOW AWAITING FURTHER INSTRUCTIONS]
.PAGE
.INDEX REFERENCE OF AN EXISTING BANK
REFERENCE OF AN EXISTING BANK
-----------------------------
.LEFT MARGIN 0
.INDENT 5
.SKIP 1
.FILL
WHEN THE PROGRAM REQUESTS THE NAME OF A BANK, THE USER MAY CHOOSE TO
REFERENCE A BANK ALREADY EXISTING RATHER THAN CREATE A NEW ONE.  TO
ACCESS A BANK WHICH ALREADY EXISTS, THE NAME WITHOUT EXTENSION FOLLOWED
BY THE PROJECT-PROGRAMMER NUMBER ENCLOSED IN BRACKETS (IF OTHER THAN THE
AREA FROM WHICH THE PROGRAM IS BEING RUN) SHOULD BE ENTERED.  AFTER THE
BANK IS LOCATED, THE PROGRAM WILL RESPOND WITH A QUESTION MARK
INDICATING ITS READINESS TO ACCEPT INSTRUCTIONS.
.SKIP 1
.INDENT 5
TO REFERENCE ANOTHER BANK AFTER ALREADY REFERENCING THE ORIGINAL BANK
FOR THE PROGRAM, TYPE A CONTROL Z (_^Z) IN RESPONSE TO THE QUESTION MARK
INDICATING THE PROGRAM'S READINESS TO ACCEPT AN INSTRUCTION. WHEN THE
PROGRAM REQUESTS THE NAME OF THE BANK, EITHER THE NAME OF A BANK TO BE
CREATED OR THE NAME OF AN EXISTING BANK MAY BE ENTERED.  TO EXIT FROM
THE SYSTEM, TYPE A CONTROL Z (_^Z) WHEN ASKED FOR THE BANK.
.SKIP 2
.NOFILL
EXAMPLES:
.LEFT MARGIN 5
.SKIP 1
BANK? DATA
?
.SKIP 1
.FILL
[THE BANK NAMED DATA.BNK ON THE DISK HAS BEEN ACCESSED, AND THE PROGRAM
IS NOW AWAITING INSTRUCTIONS.]
.SKIP 2
BANK?#THIS[110,111]
.SKIP 1
[ANOTHER BANK NAMED THIS.BNK ON THE DISK UNDER THE PROJECT-PROGRAMMER
NUMBER 110,111 HAS BEEN ACCESSED. THE PROGRAM IS AWAITING INSTRUCTIONS.]
.NOFILL
.SKIP 2
BANK? DATA
?#_^Z
.SKIP 2
BANK? GOGO
?#_^Z
.SKIP 2
BANK? _^Z
.SKIP 2
CPU TIME:#4.17 ELAPSED TIME:#4.32
NO EXECUTION ERRORS DETECTED
.SKIP 1
EXIT
.FILL
.SKIP 1
[THE BANK NAMED DATA.BNK ON THE DISK IS ACCESSED FIRST, THEN THE
BANK NAMED GOGO.BNK IS ACCESSED, AND FINALLY AN EXIT IS MADE
FROM THE PROGRAM.]
.PAGE
.LEFT MARGIN 0
.INDEX INSTRUCTIONS (EXPLANATION)
BANK INSTRUCTIONS
.BREAK
-----------------
.SKIP 1
.INDENT 5
THE BANK PROGRAM INDICATES TO THE USER ITS READINESS TO ACCEPT
INSTRUCTIONS BY TYPING A QUESTION MARK.  INSTRUCTIONS ARE COMPOSED OF A
SINGLE COMMAND AND POSSIBLY ONE OR MORE SWITCHES.  THE PURPOSE OF THE
COMMAND IS TO INDICATE THE MAJOR ACTION TO BE PERFORMED.
.SKIP 1
.LEFT MARGIN 5
.INDEX COMMANDS
##########THE FOLLOWING LIST OF COMMANDS ARE AVAILABLE:
.SKIP 1
.LEFT MARGIN 5
.NOFILL
.TAB STOPS 15,18
MODIFY
CHANGE	__	CHANGE VALUES FOR PARTICULAR VARIABLE-
REPLACE		OBSERVATION COMBINATIONS.
.SKIP 1
FORGET
DELETE	__	DELETE OBSERVATIONS OR VARIABLES FROM BANK.
DEL
.SKIP 1
BACKUP	__	CREATE A BACKUP FILE OF THE BANK.
.SKIP 1
=	__	TRANSFORMATION AND DATA SIMULATION.
.SKIP 1
CREATE
MAKE	__	ADD OBSERVATIONS TO THE BANK FROM TERMINAL.
ADD
MA
.SKIP 1
SET	__	MAKE CERTAIN SWITCHES THE DEFAULTS.
.SKIP 1
OUTPUT	__	MAKE AN ASCII FILE FROM DATA IN THE BANK.
.SKIP 1
MERGE	__	COMBINE TWO BANKS INTO ONE BANK.
.SKIP 1
PRINT
LIST	__	OUTPUT DATA OR INFORMATION IN THE BANK TO THE LINE-
Q		PRINTER.
.SKIP 1
STDES	__	OUTPUT SINGLE VARIABLE STATISTICS TO THE LINE-
		PRINTER.
.SKIP 1
TYPE	__	OUTPUT DATA OR INFORMATION IN THE BANK TO THE
		TERMINAL.
.SKIP 1
SORT	__	SORT OBSERVATIONS INTO ASCENDING ORDER BASED
		ON ONE OR MORE VARIABLES.
.PAGE
.LEFT MARGIN 0
.INDENT 5
.FILL
AFTER EACH COMMAND IT IS POSSIBLE TO USE ONE OR MORE SWITCHES WHICH WILL
MODIFY OR RESTRICT THE COMMAND.  THE ORDER IN WHICH THE SWITCHES ARE
ENTERED WILL NOT AFFECT THE RESULTS.
.SKIP 2
.LEFT MARGIN 5
.INDEX SWITCHES
THE FOLLOWING SWITCHES ARE AVAILABLE:
.BREAK
(ALL SWITCHES ARE NOT AVAILABLE FOR ALL COMMANDS, PLEASE SEE NEXT PAGE.
EITHER THE ABBREVIATIONS SHOWN OR THE COMPLETE SWITCH NAME MAY BE USED.)
.SKIP 2
.NOFILL
.TAB STOPS 22,25
VARIABLE	__	INDICATE THE VARIABLES TO BE REFERENCED.
VAR
.SKIP 1
OBSERVATION	__	INDICATE THE OBSERVATIONS TO BE REFERENCED.
OBS
.SKIP 1
DEVICE	__	SPECIFY A DEVICE FOR OUTPUT.
DEV
.SKIP 1
MATCH	__	SPECIFY THE VARIABLES TO BE MATCHED WHEN
		MERGING.
.SKIP 1
SELECT	__	INDICATE A PARTICULAR SUBSET OF DATA, AS
SUBSET		DEFINED BY A SPECIFIED VARIABLE CONTAINING
		CERTAIN VALUES.
.SKIP 1
FORMAT	__	SPECIFY AN OUTPUT FORMAT.
FMT
.SKIP 1
CONSTANT	__	SPECIFY A CONSTANT TO REPLACE DATA.
CON
.SKIP 1
BANK	__	SPECIFY A BANK FOR MERGING.
.SKIP 1
IDENTIFICATION	__	RATHER THAN CONSIDERING DATA, CONSIDER
ID		VARIABLE NAMES AND DESCRIPTIONS.
.SKIP 1
INFORMATION	__	RATHER THAN DATA, OUTPUT NAMES, DESCRIPTIONS
INFO		AND DATA MODES.
.SKIP 1
MAJOR-TO-MINOR	__	SPECIFY VARIABLES TO BE USED AS SORT KEYS.
MTM
.SKIP 1
W/O	__	OUTPUT ONLY THE VALUES OF THE DATA, LEAVE
		OFF THE HEADERS.
.SKIP 1
BELL	__	WHEN THE INSTRUCTION IS FINISHED, SOUND THE
		TERMINAL BELL.
.SKIP 1
REFERENCE	__	BEFORE REQUESTING A NEW VALUE FOR THE DATA,
REF		TYPE THE VALUES OF 1 OR 2 VARIABLES IN THE
		SAME OBSERVATION.
.PAGE
.LEFT MARGIN 0
.FILL
.INDENT 5
IN RESPONSE TO A QUESTION MARK, THE COMMAND MUST BE ENTERED FIRST.  IF
SWITCHES ARE TO BE USED, THE NAME OF THE SWITCHES MUST BE PRECEDED BY AT
LEAST ONE SPACE, AND FOLLOWED BY A  COLON.  REQUIRED AUXILIARY
INFORMATION FOR A SWITCH MUST FOLLOW THE COLON WITH NO INTERVENING
SPACES.  INSTRUCTIONS MAY BE MORE THAN ONE LINE LONG, BUT MUST END WITH
AN ALTMODE.  WHEN FINISHED ENTERING INSTRUCTIONS, OR TO SPECIFY A NEW
BANK, A CONTROL Z (_^Z) SHOULD BE TYPED.
.SKIP 1
.INDENT 5
.INDEX SWITCH-COMMAND COMBINATIONS
EACH SWITCH MAY ONLY BE USED WITH CERTAIN COMMANDS.  THE FOLLOWING TABLE
LISTS SWITCH-COMMAND COMBINATIONS.  TO DETERMINE IF A SWITCH MAY BE USED
WITH A COMMAND, LOCATE THE PARTICULAR COMMAND ACROSS THE TOP OF TABLE
AND FOLLOW THE COLUMN DOWN UNTIL IT INTERSECTS WITH THE LINE CONTAINING
THE SWITCHES.  IF AN X IS IN THAT POSITION THE SWITCH AND COMMAND MAY BE
USED TOGETHER.
.SKIP 1
.LEFT MARGIN 5
.NOFILL
.TAB STOPS 22,34
SWITCH-COMMAND COMBINATIONS:
-------------- ------------
#
	C##D##B##C##O
	H##E##A##R##U##M##P##S
	A##L##C##E##T##E##R##T##T##S
	N##E##K##A##P##R##I##D##Y##O##S
	G##T##U##T##U##G##N##E##P##R##E
	E##E##P##E##T##E##T##S##E##T##T##=
.SKIP 1
VARIABLE	X##X########X#####X##X##X#####X
.SKIP 1
OBSERVATION	X##X#####X##X#####X##X##X#####X##X
.SKIP 1
DEVICE	############X#################X
.SKIP 1
MATCH	###############X
.SKIP 1
SELECT	X##X########X#####X##X##X#####X##X
.SKIP 1
FORMAT	############X#################X
.SKIP 1
CONSTANT	X
.SKIP 1
BANK	###############X
.SKIP 1
INFORMATION	##################X#####X
.SKIP 1
IDENTIFICATION	X
.SKIP 1
MAJOR-TO-MINOR	###########################X
.SKIP 1
BELL	X##X##X##X##X##X##X##X##X##X##X##X
.SKIP 1
REFERENCE	X
.SKIP 1
W/O	##################X#####X
.PAGE
.LEFT MARGIN 5
.INDENT -5
.INDEX BACKUP
.FILL
COMMAND:##BACKUP
.INDENT -5
----------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USER TO PROVIDE BACKUP OF BANK FILES.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##BELL
.SKIP 1
.INDENT -5
DESCRIPTION:##THE COMMAND "BACKUP" ENABLES THE USER TO PROVIDE A BACKUP
DATA BANK FILE.  AFTER THE COMMAND IS ISSUED A DUPLICATE FILE OF THE
BANK WITH THE SAME NAME AND A "BAK" EXTENSION WILL BE CREATED.  THIS
FILE WILL SUPERCEDE ANY FILE OF THE SAME NAME, AND WILL BE PROTECTED
WITH A 077 PROTECTION CODE.  THE COMMAND MAY BE ISSUED AS OFTEN AS
DESIRED, HOWEVER ONLY THE MOST RECENT BACKUP WILL BE AVAILABLE.
.SKIP 1
.INDENT 5
TO REPLACE THE BANK FILE WITH THE BACKUP FILE THE FOLLOWING MONITOR
COMMAND MAY BE USED:
.SKIP 1
#####.COPY [NAME OF BANK].BNK<177>=[NAME OF BANK].BAK
.SKIP 1
IN BOTH PLACES WHERE [NAME OF BANK] OCCURS THE ACTUAL NAME OF THE BANK
SHOULD BE INSERTED.
.INDENT -5
.SKIP 1
NOTE:  RECOMMEND "BACKUP" BE USED PRIOR TO MAKING MAJOR CHANGES TO A
BANK.  THIS WILL PREVENT LOSS OF PREVIOUS WORK IN CASE OF ERROR.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
.NOFILL
? BACKUP$
.SKIP 1
[CREATE BACKUP OF BANK FILE.]
.SKIP 3
? BACKUP BELL:4$
.SKIP 1
[CREATE BACKUP OF BANK FILE AND RING THE BELL FOUR TIMES
WHEN FINISHED]
.PAGE
.LEFT MARGIN 5
.INDEX CREATE
.INDEX MAKE
.INDEX ADD
.INDEX MA
.FILL
.INDENT -5
COMMAND:##CREATE, MAKE, ADD, AND MA
.INDENT -5
-----------------------------------
.SKIP 1
.INDENT -5
PURPOSE:##ENABLE USER TO ADD OBSERVATIONS TO A BANK FILE.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##OBSERVATION AND BELL.
.SKIP 1
.INDENT -5
LIMITATION:##ONLY THE AUTHOR OF THE BANK, OPERATING UNDER THE
PROJECT-PROGRAMMER NUMBER WHERE THE BANK WAS CREATED, MAY ADD
OBSERVATIONS TO THE BANK.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "CREATE" COMMAND ALLOWS THE USER TO ADD OBSERVATIONS
TO A BANK FILE FROM THE TERMINAL.  IF AN OBSERVATION SWITCH IS NOT
INCLUDED WITH THE CREATE COMMAND ONLY ONE OBSERVATION WILL BE ADDED.  TO
ADD MORE THAN ONE OBSERVATION TO THE BANK, AN OBSERVATION SWITCH MUST BE
USED.  WHEN USING THE OBSERVATION SWITCH THE USER MUST BEGIN WITH THE
FIRST AVAILABLE OBSERVATION (THE OBSERVATION NUMBER FOLLOWING THE LAST
OBSERVATION IN THE BANK) AND PROCEED,  WITH NO OMISSIONS, TO THE LAST
OBSERVATION TO BE ADDED.  ONCE THE INSTRUCTION HAS BEEN ENTERED, THE NEW
OBSERVATIONS WILL BE CREATED (CONTAINING MISSING DATA) BEFORE PROCEEDING
FURTHER.  ONE AT A TIME FOR EACH OBSERVATION CREATED, NEW VALUES MUST BE
ENTERED ON THE TERMINAL.  MISSING DATA MAY BE ENTERED BY TYPING "MISS"
OR "MISSING". THE USER MAY AT ANY TIME RETURN TO ENTER A NEW INSTRUCTION
BY TYPING A CONTROL Z (_^Z).
.SKIP 1
.INDENT -5
NOTE:  TO CREATE A NEW VARIABLE, USE THE "=" COMMAND.  THE CREATE, MAKE,
ADD, AND MA COMMANDS ARE EQUIVALENT AND MAY BE USED INTERCHANGEABLY.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
.NOFILL
? ADD$
.SKIP 1
OBS:###30
#V1###?#1
#V2###?#2
.SKIP 1
[ADD ONE OBSERVATION TO BANK, DATA TO BE ACCEPTED FROM TERMINAL.]
.SKIP 3
? ADD OBS:31$
.SKIP 1
OBS:###31
#V1###? 3
#V2###? MISS
.SKIP 1
[ADD OBSERVATION NUMBER 31 TO THE BANK, DATA TO BE ACCEPTED FROM
TERMINAL.]
.PAGE
? ADD OBSERVATION:32-2000$
.SKIP 1
OBS:###32
#V1###? _^Z
.SKIP 1
[OBSERVATIONS 32 THROUGH 2000 ADDED TO BANK, ALL CONTAIN MISSING
DATA]
.PAGE
.FILL
.INDEX =
.INDEX TRANS
.INDENT -5
COMMAND:##=
.INDENT -5
-----------
.SKIP 1
.INDENT -5
PURPOSE:##ENABLE USER TO CREATE OR MODIFY VARIABLES BY COMBINING OR
TRANSFORMING EXISTING VARIABLES OR CREATING RANDOM VALUES.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##OBSERVATION, SELECT, AND
BELL.
.SKIP 1
.INDENT -5
LIMITATION:##ONLY THE AUTHOR OF THE BANK, WORKING UNDER THE
PROJECT-PROGRAMMER NUMBER WHERE THE BANK WAS CREATED, MAY TRANSFORM THE
DATA LOCATED IN IT.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE COMMANDS FOR TRANSFORMING OR CREATING VARIABLES ARE
STRUCTURED IN THE SAME MANNER AS A FORTRAN ARITHMETIC STATEMENT.  THE
BASIC FORM OF THE COMMAND IS:##THE VARIABLE TO BE MODIFIED OR CREATED,
AN "=", AND THE EXPRESSION TO BE EVALUATED.  FOR EACH OBSERVATION
SPECIFIED, THE EXPRESSION TO THE RIGHT OF THE "=" IS EVALUATED AND ITS
FINAL VALUE IS PLACED IN THE VARIABLE TO THE LEFT OF THE "=".  THE RULES
COVERING THE EVALUATION OF THE EXPRESSION ARE THE SAME AS FOR FORTRAN.
THE ORDER IN WHICH OPERATIONS ARE EXECUTED (HIERARCHY) IS AS FOLLOWS:
.SKIP 1
.NOFILL
.TAB STOPS 10,19,27
	ORDER	SIGN	EXPLANATION OF SIGN
	-----	----	-------------------
	##1	#**	#####EXPONENT
	##2	#*	#####MULTIPLY
	##2	#/	#####DIVIDE
	##3	#+	#####ADD
	##3	#-	#####SUBTRACT
.SKIP 1
.INDENT 5
.FILL
OPERATIONS WHICH HAVE THE SAME ORDER OF EXECUTION ARE EVALUATED AS THEY
ARE ENCOUNTERED PROCEEDING FROM LEFT TO RIGHT THROUGH THE EXPRESSION.
PARENTHESES INSIDE AN EXPRESSION ARE EVALUATED FIRST, BEGINNING WITH THE
INNERMOST.  SEVERAL PREDEFINED FUNCTIONS ARE AVAILABLE FOR USE IN THE
TRANSFORMATIONS.  THEY ARE:
.SKIP 1
.NOFILL
.LEFT MARGIN 10
.TAB STOPS 20,25
"ABS"   - ABSOLUTE VALUE
"ALPHA" - TRANSFORM TO ALPHA MODE
"ARCSN" - ARCSINE
"ARCTN" - ARCTANGENT
"COS"   - COSINE
"EXP"   - EXPONENTIAL (E TO THE X)
"FIX"   - TRANSFORM TO FIXED MODE (DECIMAL POINT WILL BE
	TRUNCATED)
"FLOAT" - TRANSFORM TO FLOATING MODE
"LN"    - NATURAL LOG
"LOG10" - LOG BASE 10
"NORM"  - NORMAL RANDOM NUMBER GENERATOR
"RAN"   - UNIFORM RANDOM NUMBER GENERATOR (0 TO 1)
"SIN"   - SINE
"SQRT"  - SQUARE ROOT
.PAGE
.LEFT MARGIN 5
.FILL
.INDENT 5
FUNCTIONS ARE EVALUATED ON AN EQUAL PRIORITY WITHIN PARENTHESES.  THEY
ARE INDICATED BY TYPING THE ABBREVIATION AND THEN THE NUMBER OR
EXPRESSION TO BE EVALUATED, ENCLOSED IN PARENTHESES.
.SKIP 1
.INDENT 5
VARIABLES ARE INDICATED BY EITHER VARIABLE NUMBERS PRECEDED BY A "_#" OR
BY VARIABLE NAMES. ALL ARITHMETIC CALCULATIONS ARE PERFORMED IN FLOATING
POINT.  VALUES WHICH ARE NOT POSSIBLE TO TRANSLATE FOR MODE CHANGES WILL
BE REPLACED WITH MISSING DATA.  THE OBSERVATION NUMBER MAY BE SPECIFIED
AS A VARIABLE FOR USE IN CALCULATIONS OR AS A DIRECT TRANSFER, IT IS
REFERENCED BY THE NAME "OBS".
.SKIP 1
.INDENT -5
NOTE:  TO CREATE AN OBSERVATION, SEE THE CREATE COMMAND.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#TOTAL=PTS1+PTS2+PTS3$
.SKIP 1
[ADD TOGETHER VARIABLES:PTS1, PTS2, AND PTS3 STORING THE RESULT
IN VARIABLE:TOTAL]
.SKIP 4
?#TOTAL=PTS1+PTS2  SELECT:SEX='MALE'$
.SKIP 1
[ADD TOGETHER VARIABLES:PTS1 AND PTS2 IF THE VALUE OF VARIABLE:SEX FOR
THAT OBSERVATION IS EQUAL TO MALE.  STORE THE RESULT IN VARIABLE:TOTAL.
IF THE VARIABLE:TOTAL IS BEING CREATED, IT WILL CONTAIN MISSING DATA FOR
THOSE OBSERVATIONS WHERE VARIABLE:SEX IS NOT EQUAL TO MALE.]
.SKIP 4
?#V1=FLOAT(V1)$
.SKIP 1
[CHANGE THE MODE OF VARIABLE:V1 FROM ALPHA OR FIXED TO FLOATING POINT.
INVALID VALUES WILL BE REPLACED WITH MISSING DATA.]
.SKIP 4 
?#SET=1  OBS:1-2000  BELL:3$
.SKIP 1
[FOR OBSERVATIONS 1 TO 2000, ASSIGN THE FLOATING POINT NUMBER 1 TO THE
VARIABLE:SET.  WHEN FINISHED RING THE TERMINAL BELL 3 TIMES.  IF SET IS
BEING CREATED, ANY OBSERVATION NUMBER OVER 2000 WILL CONTAIN MISSING
DATA FOR THE VARIABLE:SET.]
.PAGE
?#NEW=RAN(1.)$
.SKIP 1
[TRANSFORM OR CREATE THE VARIABLE:NEW SETTING IT EQUAL TO A
SET OF UNIFORM RANDOM VALUES BETWEEN 0 AND 1.]
.SKIP 5
?#NEW=NORM(1.)$
.SKIP 1
[TRANSFORM OR CREATE THE VARIABLE:NEW SETTING IT EQUAL TO A NORMAL
RANDOM DISTRIBUTION WITH A MEAN OF 0. AND A STANDARD DEVIATION OF 1.   ]
.SKIP 5
?#NEW=(NORM(1.)*50)+10*RAN(1.)+50.$
.SKIP 1
[TRANSFORM OR CREATE THE VARIABLE:NEW SETTING IT EQUAL TO 50 TIMES A
NORMAL DISTRIBUTION PLUS 10 TIMES A UNIFORM DISTRIBUTION PLUS 50.]
.SKIP 5
?#ODE=TOTAL-FIX(TOTAL/2)*2$
.SKIP 1
[CREATE OR TRANSFORM THE VARIABLE:ODE SUCH THAT ODE WILL CONTAIN THE
VALUE 1 IF THE VARIABLE:TOTAL IS ODD OTHERWISE ODE WILL CONTAIN A ZERO.]
.SKIP 5
?#XX=ALPHA(0)$
.SKIP 1
[CREATE AN ALPHA VARIABLE.  CHANGES MUST BE MADE WITH A REPLACE
COMMAND.]
.SKIP 5
?#_#1=ALPHA(_#1)
.SKIP 1
[THE VARIABLE:1 IS CHANGED TO AN ALPHA MODE VARIABLE.]
.PAGE
.FILL
.INDEX FORGET
.INDEX DELETE
.INDEX DEL
.INDENT -5
COMMAND:##FORGET, DELETE, OR DEL
.INDENT -5
--------------------------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USER TO DELETE OBSERVATIONS, RANGES OF OBSERVATIONS,
VARIABLES, RANGES OF VARIABLES OR AN ENTIRE BANK.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
SELECT, AND BELL.
.SKIP 1
.INDENT -5
LIMITATION:##ONLY THE AUTHOR OF THE BANK, WORKING UNDER THE
PROJECT-PROGRAMMER NUMBER WHERE THE BANK WAS CREATED, MAY DELETE DATA
FROM THE BANK.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "DELETE" COMMAND ALLOWS THE USER TO DELETE VALUES
LOCATED WITHIN A BANK FILE.  EITHER VARIABLES OR  OBSERVATIONS MAY BE
DELETED, HOWEVER, BOTH OBSERVATIONS AND VARIABLES MAY NOT BE DELETED IN
THE SAME COMMAND.  WHEN DELETING VARIABLES THE ASSOCIATED ID INFORMATION
WILL ALSO BE ELIMINATED.  IF AN OBSERVATION IS BEING DELETED, AND IT IS
NOT THE  LAST OBSERVATION IN THE BANK, ALL OBSERVATIONS FOLLOWING IT
WILL BE MOVED ONE AHEAD.
.SKIP 1
.INDENT -5
NOTE:  THE FORGET, DELETE, OR DEL COMMANDS ARE EQUIVALENT AND MAY BE
USED INTERCHANGEABLY.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#DELETE$
.BREAK
ENTIRE BANK DELETED
.SKIP 1
BANK?
.SKIP 1
[ENTIRE BANK IS DELETED AND THE USER IS INSTRUCTED TO ENTER A NEW BANK.]
.SKIP 3
?#DELETE VAR:PNT1-PNT10$
.SKIP 1
[THE VARIABLES:PNT1 THROUGH PNT10 ARE TO BE DELETED.  (THE NUMBER OF
BLOCKS OF DISK STORAGE ALLOCATED TO THE BANK FILE WILL ALSO DECREASE AS
VARIABLES ARE DELETED).]
.SKIP 3
?#DELETE OBS:2$
.SKIP 1
[THE SECOND OBSERVATION WILL BE DELETED FROM THE BANK.  ALL OBSERVATIONS
FOLLOWING 2 WILL BE MOVED AHEAD, THUS OBSERVATION 3 WILL BECOME 2, 4
WILL BECOME 3, ETC.]
.PAGE
?#DELETE OBS:2,7,12,20-25,30$
.SKIP 1
[DELETE OBSERVATIONS: 2, 7, 12, 20 THROUGH 25, AND 30 FROM THE BANK.]
.SKIP 3
?#DELETE SELECT:SEX='MALE'$
.SKIP 1
[ALL OBSERVATIONS IN WHICH VARIABLE:SEX HAS THE ALPHA VALUE MALE WILL BE
DELETED FROM THE BANK FILE.]
.SKIP 3
?#DELETE SELECT:SEX='MALE' SELECT:AGE>21 OBS:3000-10000 BELL:10$
.SKIP 1
[DELETE ANY OBSERVATIONS BETWEEN OBSERVATION NUMBERS 3000 AND 10000 IN
WHICH VARIABLE:SEX CONTAINS THE ALPHA VALUE MALE AND VARIABLE:AGE
CONTAINS A VALUE GREATER THAN 21.  RING THE TERMINAL BELL 10 TIMES UPON
COMPLETION.]
.SKIP 3
?#DELETE SELECT:AGE=MISS$
.SKIP 1
[DELETE OBSERVATIONS WHERE VARIABLE:AGE CONTAINS THE MISSING DATA.]
.SKIP 3
?#DELETE VAR:AGE,SEX  VAR:NAME1-NAME4$
.SKIP 1
[DELETE VARIABLES:AGE, SEX AND NAME1 THROUGH NAME4.]
.SKIP 3
?#DELETE VAR:AGE,SEX,NAME1-NAME4$
.SKIP 1
[SAME AS ABOVE.  DELETE VARIABLES:AGE, SEX, AND NAME1 THROUGH NAME4.]
.SKIP 3
?#DELETE SELECT:CLASS=106  SELECT:GPA>=3.0  SELECT:MAJOR<>'MATH'$
.SKIP 1
[DELETE ALL OBSERVATIONS WHERE THE VARIABLE:CLASS IS EQUAL TO 106, THE
VARIABLE:GPA IS GREATER THAN OR EQUAL TO 3.0, AND THE VARIABLE:MAJOR IS
NOT EQUAL TO THE ALPHA VALUE MATH.]
.PAGE
.LEFT MARGIN 5
.INDEX MERGE
.INDENT -5
COMMAND:##MERGE
.INDENT -5
---------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW THE USER TO COMBINE TWO BANKS, APPENDING ONE TO THE
OTHER, OR TO UPDATE ONE BANK WITH DATA FROM ANOTHER.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THIS COMMAND:##MATCH, BANK, AND BELL.
.SKIP 1
.INDENT -5
LIMITATION:##ONLY THE AUTHOR OF A BANK, WORKING UNDER THE
PROJECT-PROGRAMMER NUMBER WHERE THE BANK WAS CREATED MAY MERGE ANOTHER
BANK TO IT.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "MERGE" COMMAND IS USED TO COMBINE DATA LOCATED IN TWO
SEPARATE BANK FILES.  THE BANK WHICH IS PRESENTLY UNDER CONSIDERATION
(THE BANK INDICATED IN THE MOST RECENT RESPONSE TO "BANK?" CALLED HERE
THE RESIDENT BANK) WILL HAVE THE BANK SPECIFIED IN THE BANK SWITCH
(UPDATE BANK) INCORPORATED INTO IT.  WHEN THE MERGE IS COMPLETED, THE
UPDATE BANK WILL BE UNCHANGED, BUT THE RESIDENT BANK WILL HAVE BEEN
MODIFIED TO INCLUDE DATA LOCATED IN BOTH BANKS.  IF A VARIABLE EXISTS
FOR BOTH BANKS WHICH HAS THE SAME NAME BUT DIFFERENT MODES, THE MODE OF 
THE RESIDENT BANK WILL BE USED.  IF A MATCH SWITCH IS NOT SPECIFIED IN A
MERGE COMMAND, THE UPDATE BANK WILL BE APPENDED TO THE RESIDENT BANK.
.SKIP 1
.INDENT 5
TO USE ONE MERGE AS AN UPDATING PROCESS, A MATCH SWITCH MUST BE
SPECIFIED.  VARIABLES LISTED IN THE MATCH SWITCH MUST APPEAR IN BOTH
BANKS.  DATA IN AN OBSERVATION OF THE UPDATE BANK WILL REPLACE DATA IN
AN OBSERVATION OF THE RESIDENT BANK IF THE TWO OBSERVATIONS HAVE THE
SAME VALUES FOR ALL THE VARIABLES LISTED IN THE MATCH SWITCH.
OBSERVATIONS IN THE RESIDENT BANK WHICH CANNOT BE MATCHED TO AN
OBSERVATION IN THE UPDATE BANK WILL REMAIN UNCHANGED.  OBSERVATIONS
IN THE UPDATE BANK WHICH HAVE NO MATCH WILL BE APPENDED OR ADDED TO THE
END OF THE RESIDENT BANK.  DATA IN THE RESIDENT BANK WILL REMAIN IN ITS
ORIGINAL ORDER.  IT IS NOT NECESSARY TO SORT EITHER BANKS PRIOR TO A
MERGE.
.SKIP 1
.INDENT -5
NOTE:  SWITCH MTM MUST BE USED WITH A MERGE COMMAND.
.PAGE
.INDENT -5
EXAMPLES:
.SKIP 1
FOR THE FOLLOWING EXAMPLES ASSUME BANK RES TO BE THE RESIDENT BANK:
.NOFILL
.SKIP 2
.LEFT MARGIN 10
######RES#########################UP
.SKIP 1
ID##AGE##WEIGHT##############ID##AGE##IQ
#1###21###120#################1###22##110
#2###18###113#################2###19##115
#3###17###124#################5###23##100
#4###19###118#################4###20##120
.LEFT MARGIN 5
.SKIP 2
? MERGE BANK:UP$
.SKIP 1
.FILL
[RESULT OF THE MERGE IS THE BANK RES.  IT IS STILL BEING REFERENCED
AS THE RESIDENT BANK, AND  WILL LOOK LIKE THIS:
.NOFILL
.SKIP 1
.LEFT MARGIN 10
##########RES
.SKIP 1
ID##AGE##WEIGHT###IQ
#1###21###120#####MISSING
#2###18###113#####MISSING
#3###17###124#####MISSING
#4###19###118#####MISSING
#1###22##MISSING##110
#2###19##MISSING##115
#5###23##MISSING##100
#4###20##MISSING##120
.INDENT -5
]
.SKIP 6
.LEFT MARGIN 5
? MERGE BANK:UP MATCH:ID$
.SKIP 1
[RESULT OF THE MERGE IS BANK RES AND IT WILL LOOK LIKE THIS:
.SKIP 1
.LEFT MARGIN 10
##########RES
.SKIP 1
ID##AGE##WEIGHT###IQ
#1###22###120#####110
#2###19###113#####115
#3###17###124#####MISSING
#4###20###118#####120
#5###23##MISSING##100
.INDENT -5
]
.PAGE
.LEFT MARGIN 5
.FILL
.INDEX MODIFY
.INDEX CHANGE
.INDEX REPLACE
.INDENT -5
COMMAND:##MODIFY, CHANGE, OR REPLACE
.INDENT -5
------------------------------------
.SKIP 1
.INDENT -5
PURPOSE:##ENABLE USER TO CHANGE VALUES LOCATED IN A BANK FILE.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
SELECT, CONSTANT, IDENTIFICATION, BELL, AND REFERENCE.
.SKIP 1
.INDENT -5
LIMITATIONS:##ONLY THE AUTHOR OF THE BANK, WORKING UNDER THE PROJECT-
PROGRAMMER NUMBER WHERE THE BANK WAS CREATED, MAY MODIFY THE VALUES IN
THE BANK.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "MODIFY" COMMAND ENABLES USERS TO CHANGE DATA LOCATED
IN THE BANK FILE. CHANGES ARE MADE AS THEY ARE ENTERED.  THUS ALL VALUES
WHICH HAVE BEEN CHANGED, WILL REMAIN CHANGED, EVEN IF A CONTROL C (_^C)
IS USED TO TERMINATE THE RUN. UNLESS A CONSTANT VALUE IS SPECIFIED, EACH
NEW VALUE MUST BE ENTERED ON THE TERMINAL, IN RESPONSE TO A QUERY.
MISSING DATA MAY BE ENTERED BY TYPING "MISS" OR "MISSING".  IF A VALUE
IS NOT TO BE CHANGED, A CARRIAGE RETURN MAY BE ENTERED.
.SKIP 1
.INDENT -5
NOTE:  THE MODIFY, CHANGE, AND REPLACE COMMANDS ARE EQUIVALENT AND MAY
BE USED INTERCHANGEABLY.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#REPLACE$
.SKIP 1
[REPLACE ALL VALUES FOUND IN THE ENTIRE BANK FILE BY NEW VALUES TO BE
ENTERED ONE AT A TIME ON THE TERMINAL.]
.SKIP 3
?#REPLACE VAR:SEX OBSERVATION:100$
.SKIP 1
[REPLACE ONLY THE VALUE IN OBSERVATION 100 OF VARIABLE:SEX.  THE NEW
VALUE WILL BE ENTERED THROUGH THE TERMINAL.]
.SKIP 3
?#REPLACE VAR:POINTS  SELECT:SEX='MALE'$
.SKIP 1
[REPLACE THE VALUE FOR VARIABLE:POINTS IN ALL OBSERVATIONS WHERE THE
VARIABLE:SEX IS EQUAL TO THE ALPHA VALUE MALE.  NEW VALUES WILL BE
ENTERED ON THE TERMINAL.]
.PAGE
?#REPLACE VAR:POINTS  SELECT:SEX='MALE'  CONSTANT:100$
.SKIP 1
[REPLACE THE VARIABLE:POINTS WITH THE CONSTANT 100 FOR ALL OBSERVATIONS
WHERE THE VARIABLE:SEX IS EQUAL TO THE ALPHA VALUE MALE, (NO TERMINAL
INPUT IS NECESSARY).]
.SKIP 3
?#REPLACE VARIABLE:IQ  SELECT:IQ=999  CONSTANT:MISSING
BELL:5$
.SKIP 1
[FOR VARIABLE:IQ, REPLACE ALL CASES WHERE IQ IS EQUAL TO 999 WITH
MISSING DATA SYMBOLS. WHEN FINISHED, RING THE TERMINAL BELL FIVE TIMES.]
.SKIP 3
?#REPLACE VAR:GRADE  REFERENCE:SOCSC$
.SKIP 1
[FOR EACH OBSERVATION, TYPE OUT THE VARIABLE:SOCSC AS A REFERENCE OF
THE OBSERVATION.  NEW VALUES FOR THE VARIABLE:GRADE WILL BE ENTERED ON
THE TERMINAL.]
.SKIP 3
?#REPLACE VAR:GRADE  OBSERVATION:296  W/O:$
.SKIP 1
[ON THE 296TH OBSERVATION, REPLACE THE VALUE FOR VARIABLE:GRADE WITH A
VALUE TO BE SPECIFIED ON THE TERMINAL.  DO NOT PRINT HEADERS, SIMPLY
ACCEPT THE NEW VALUE.]
.SKIP 3
?#REPLACE VAR:1-3  ID:$
.SKIP 1
[REPLACE THE NAME AND THE DESCRIPTION FOR VARIABLES:1 THROUGH 3.  FORMAT
IS THE SAME AS WHEN NAMES ARE ASSIGNED DURING THE CREATION OF THE BANK
FILE.]
.SKIP 3
?#REPLACE VAR:SEX  SELECT:SEX=MISSING  CONST:'N/A'$
.SKIP 1
[IF THE VARIABLE:SEX HAS MISSING DATA, REPLACE IT WITH THE ALPHA VALUE
"N/A".  ALPHA VALUES MUST BE REPLACED WITH DATA LOCATED BETWEEN THE
QUOTES, FIXED AND FLOATING VARIABLES MUST BE REPLACED WITH NUMERIC
VALUES.]
.SKIP 3
?#REPLACE SELECT:SEX=MISSING$
.SKIP 1
[REPLACE ALL VARIABLES OF ANY OBSERVATION WHERE THE VARIABLE:SEX IS
MISSING.]
.PAGE
.LEFT MARGIN 5
.INDEX OUTPUT
.INDENT -5
COMMAND:##OUTPUT
.INDENT -5
----------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USER TO CREATE AN ASCII FILE FROM DATA LOCATED WITHIN A
BANK.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
DEVICE, SELECT, FORMAT, AND BELL.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "OUTPUT" COMMAND ENABLES DATA LOCATED WITHIN A BANK TO
BE WRITTEN IN ASCII TO A SPECIFIED DEVICE WITH A SPECIFIED FORMAT.
SUBSETTING OF THE ORIGINAL DATA SET MAY BE ACCOMPLISHED WITH THE
VARIABLE, OBSERVATION, AND SELECT SWITCHES.  IF AN OUTPUT FORMAT IS
SPECIFIED, THE FORMAT AND VARIABLE TYPES MUST AGREE. IF NO OUTPUT FORMAT
IS SPECIFIED THE PROGRAM WILL CREATE ITS OWN USING G15.7, I15,AND A5.
THE MAXIMUM LENGTH RECORD WHICH WILL BE WRITTEN WITH A CREATED FORMAT IS
130 CHARACTERS.  MULTIPLE LINE RECORDS WILL BE WRITTEN IF NECESSARY.
IF NO DEVICE IS SPECIFIED  DSK:OUT.DAT WILL BE USED.  OBSERVATIONS WHERE
MISSING DATA EXISTS FOR ANY OF THE SPECIFIED VARIABLES WILL NOT BE
WRITTEN.  DATA OUTPUT TO THE LINEPRINTER WILL BE SPOOLED AND PRINTED AT
THE CONCLUSION OF THE COMMAND.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#OUTPUT DEV:TTY: VAR:NAME1-NAME2,SOCSC FMT:(1X,2A5,3X,I9)$
.SKIP 1
SMITHS J.####376904765
.BREAK
DOE J.#######384721796
.SKIP 1
[DATA IS DISPLAYED ON THE TERMINAL WITH THE SPECIFIED VARIABLES UNDER
THE SPECIFIED FORMAT.]
.SKIP 5
?#OUTPUT DEV:DSK:DATA.OUT SELECT:SEX='MALE'$
.SKIP 1
PROGRAM SUPPLIED FORMAT IS:##(G,G,G,G,G,G,G,I/A5,A5,A5,G,I)
.SKIP 1
[ALL CASES WHERE THE VARIABLE:SEX HAS THE ALPHA VALUE MALE WILL BE
OUTPUT TO THE DISK FILE DATA.OUT.]
.PAGE
?#OUTPUT$
.SKIP 1
PROGRAM SUPPLIED FORMAT IS:##(G,G,G,G,G,G,G,I/A5,A5,A5,G,I)
.SKIP 1
[ALL DATA WILL BE OUTPUT TO THE DISK FILE OUT.DAT.]
.SKIP 5
.NOFILL
?#OUTPUT DEV:LPT: FMT:('0USER',3A5,'FROM DEPT.',A5,'USED $',F6.2)
*VAR:NAME1-NAME3,DEPT,MONEY$
.SKIP 1
.FILL
[OUTPUT TO THE LINEPRINTER THE VARIABLES:NAME1 THROUGH NAME3, DEPT., AND
MONEY UNDER THE SPECIFIED FORMAT.  OUTPUT WILL BE SPOOLED AND ENTERED IN
TO THE LINEPRINTER QUEUE, RATHER THAN DIRECTLY ASSIGNING THE OUTPUT TO
THE LINEPRINTER.]
.SKIP 5
?#OUTPUT VAR:1-7##SELECT:SEX='MALE'##OBS:1-1000
.BREAK
*DEVICE:TTY:$
.SKIP 1
[OUTPUT TO THE TERMINAL THE VARIABLES:1 THROUGH 7 FOR ANY OF THE  FIRST
THOUSAND OBSERVATIONS WHERE VARIABLE:SEX HAS THE ALPHANUMERIC VALUE OF MALE.]
.PAGE
.LEFT MARGIN 5
.INDEX PRINT
.INDEX LIST
.INDEX Q
.INDENT -5
COMMAND:##PRINT, LIST, OR Q
.INDENT -5
---------------------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USER TO OUTPUT DATA OR INFORMATION ABOUT DATA TO THE
LINEPRINTER.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
SELECT, INFORMATION, BELL AND W/O.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "PRINT" COMMAND IS USED TO WRITE DATA OR INFORMATION
ON THE LINEPRINTER.  THE VARIABLE, OBSERVATION, AND SELECT SWITCHES MAY
BE USED TO SUBSET DATA.  IF THE MODES, DESCRIPTIONS, AND NAMES OF
VARIABLES ARE DESIRED, THEY MAY BE OBTAINED WITH THE INFO SWITCH. OUTPUT
TO THE LINEPRINTER IS SPOOLED, AND WILL BE PRINTED UPON COMPLETION OF
THE INSTRUCTION.   MISSING DATA IS DENOTED IN THE OUTPUT BY THE WORDS
"MISSING DATA".  FIXED POINT VARIABLE NAMED SOCSC WILL BE OUTPUT IN
STANDARD SOCIAL SECURITY FORMAT, THAT IS, THREE DIGITS, A "-", 2 DIGITS,
A "-" AND THE REMAINING 4 DIGITS.   RESULTS MAY BE  PICKED UP AT THE
COMPUTER CENTER OUTPUT WINDOW ON THE THIRD FLOOR OF ROOD HALL.  FOR
SMALL QUANTITIES OF OUTPUT THE "TYPE" COMMAND MAY BE USED.
.SKIP 1
.INDENT -5
NOTE:  THE PRINT, LIST, AND Q COMMANDS ARE EQUIVALENT AND MAY BE USED
INTERCHANGEABLY.
.SKIP 2
.INDENT -5
.NOFILL
EXAMPLES:
.SKIP 1
? PRINT$
[PRINT ALL INFORMATION ABOUT THE BANK, AND ALL DATA IN THE BANK.]
.SKIP 2
? PRINT INFO:$
[PRINT INFORMATION ABOUT THE BANK FOR ALL VARIABLES.]
.SKIP 2
? PRINT INFO:##VARIABLES:1-20$
[PRINT INFORMATION ABOUT VARIABLES:1 THROUGH 20.]
.SKIP 2
? PRINT VAR:1,5-7,3,SEX$
[PRINT ALL OBSERVATIONS FOR VARIABLES:1, 5 THROUGH 7, 3, AND SEX.]
.SKIP 2
? PRINT OBS:1-50$
[PRINT ALL VARIABLES FOR OBSERVATIONS 1 THROUGH 50.]
.SKIP 2
? PRINT SELECT:SEX='MALE'##VAR:ID,HEIGHT,WEIGHT,IQ##OBS:1-10000$
.FILL
[PRINT THE VARIABLES:ID, HEIGHT, WEIGHT, AND IQ FOR ALL MALES IN
OBSERVATIONS 1 THROUGH 10000.]
.PAGE
.LEFT MARGIN 5
.INDEX SET
.INDENT -5
COMMAND:##SET
.INDENT -5
-------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW THE USER TO DEFINE DEFAULT VALUES FOR SWITCHES OTHER
THAN THOSE ASSUMED BY THE PROGRAM.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
DEVICE, SELECT, FORMAT, AND BELL.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "SET" COMMAND ENABLES THE USER TO REDEFINE THE DEFAULT
VALUES FOR SWITCHES.  THE DEFAULT VALUE FOR A SWITCH IS USED WHEN THE
SWITCH IS NOT CONTAINED IN AN INSTRUCTION, BUT IS NECESSARY FOR THE
COMMAND ENTERED.  VALUES DEFINED WITH A SET COMMAND REMAIN THE DEFAULT
VALUES UNTIL ANOTHER SET INSTRUCTION IS ENTERED OR UNTIL THE END OF THE
RUN.  SWITCHES NOT INCLUDED IN A SET INSTRUCTION WILL BE GIVEN THE
ORIGINAL PROGRAM DEFAULT VALUES.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#SET VAR:1-5$
.SKIP 1
[IN FUTURE INSTRUCTIONS WHERE THE VARIABLE SWITCH IS NECESSARY BUT WHERE
NONE WAS USED, DO NOT ASSUME ALL VARIABLES, LOOK AT ONLY VARIABLES:1
THROUGH 5.]
.SKIP 2
?#SET SELECT:SEX='MALE'$
.SKIP 1
[IF NO SELECT SWITCHES ARE USED, CONSIDER ONLY THOSE OBSERVATIONS WHERE
THE VARIABLE:SEX IS EQUAL TO MALE.]
.SKIP 1
?#SET OBSERVATIONS:1-500  SELECT:SEX='MALE'$
.SKIP 1
[IF AN OBSERVATION SWITCH IS NOT USED IN AN INSTRUCTION WHERE ONE IS
NECESSARY, CONSIDER ONLY OBSERVATIONS 1 THROUGH 500.  IF NO SELECTS ARE
USED, LOOK AT ONLY THOSE CASES WHERE VARIABLE:SEX IS EQUAL TO MALE.  IF
NEITHER SWITCH IS USED, CONSIDER ONLY THOSE CASES IN THE FIRST 500
OBSERVATIONS WHERE THE VARIABLE:SEX IS EQUAL TO MALE.]
.SKIP 1
.NOFILL
?#SET DEV:LPT: FORMAT:('0TOTAL USED BY DEPT ',I3,' WAS $',F10.2)$
.SKIP 1
.FILL
[IN AN OUTPUT STATEMENT IF NO DEVICE SWITCH IS GIVEN, OUTPUT WILL BE TO
THE LINEPRINTER.  IF A FORMAT SWITCH IS NOT INCLUDED IN THE COMMAND, THE
FORMAT SUPPLIED IN THE SET COMMAND IS USED.]
.SKIP 2
?#SET$
.SKIP 1
[RESET ALL SWITCHES TO THE ORIGINAL DEFAULT VALUES ASSUMED BY THE
PROGRAM.]
.PAGE
.LEFT MARGIN 5
.INDEX SORT
.INDENT -5
COMMAND:##SORT
.INDENT -5
--------------
.SKIP 1
.INDENT -5
PURPOSE:##SORT DATA LOCATED WITHIN A BANK INTO ASCENDING ORDER.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##MAJOR-TO-MINOR AND BELL.
.SKIP 1
.INDENT -5
LIMITATION:##ONLY THE AUTHOR OF THE BANK, WORKING UNDER THE
PROJECT-PROGRAMMER NUMBER WHERE THE BANK WAS CREATED, MAY SORT THE DATA
IN IT.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "SORT" COMMAND ALLOWS THE USER TO SORT INTO ASCENDING
ORDER DATA LOCATED WITHIN THE BANK.  AT LEAST ONE MAJOR-TO-MINOR SWITCH
MUST BE USED WITH EACH SORT COMMAND.  AFTER SORTING, INDIVIDUAL
OBSERVATIONS  REMAIN UNCHANGED, ONLY THE ORDER IN WHICH THE OBSERVATIONS
OCCUR WILL BE CHANGED.  THE MAJOR SORT KEY (FIRST VARIABLE INDICATED IN
MAJOR-TO-MINOR SWITCH) IS USED TO DETERMINE WHICH OF TWO OBSERVATIONS
SHOULD COME FIRST. IF NO DECISION CAN BE MADE (AS IN THE CASE OF A TIE),
THE NEXT VARIABLE IN THE LIST OF SORT KEYS IS USED.  THE SORT PROCEEDS
IN THIS MANNER ALWAYS CHECKING THE NEXT VARIABLE IN THE LIST, UNTIL IT
REACHES THE MINOR SORT KEY (THE LAST VARIABLE TO BE ENCOUNTERED IN
MAJOR-TO-MINOR SWITCH).  IF NO DECISION CAN YET BE MADE, THE TWO
OBSERVATIONS WILL REMAIN IN THE SAME ORDER AS THEY ORIGINALLY OCCURRED.
.SKIP 1
.INDENT -5
NOTE:  A MAJOR-TO-MINOR SWITCH MUST BE USED WITH A SORT COMMAND.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
?#SORT MTM:SEX,AGE,HEIGHT$
.SKIP 1
[SORT DATA ON VARIABLES:SEX, AGE, AND HEIGHT WITH SEX BEING MAJOR AND
HEIGHT BEING MINOR.]
.SKIP 5
?#SORT MAJOR-TO-MINOR:HEIGHT$
.SKIP 1
?#SORT MAJOR-TO-MINOR:AGE$
.SKIP 1
?#SORT MAJOR-TO-MINOR:SEX$
.SKIP 1
[THE THREE PRECEEDING SORTS ACCOMPLISH THE SAME RESULTS AS THE  FIRST
SORT; THEY ARE ISSUED AS 3 COMMANDS RATHER THAN ONE.]
.PAGE
.LEFT MARGIN 5
.INDEX STDES
.INDENT -5
COMMAND:##STDES
.INDENT -5
---------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USERS TO PERFORM SINGLE VARIABLE DESCRIPTIVE STATISTICS.
.SKIP 1
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
SELECT AND BELL.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "STDES" COMMAND IS USED TO PRINT THE RESULTS OF
SINGLE VARIABLE STATISTICS. IN ADDITION TO THE STATISTICS CALCULATED THE
USER IS ALSO SUPPLIED WITH A BARGRAPH FOR THE VARIABLES.  THE COMMAND
REQUIRES NO OPTIONS NOR EXTRA INFORMATION, ALL APPLICABLE STATISTICS
WILL BE CALCULATED FOR ALL VARIABLES SPECIFIED.  STATISTICS CALCULATED
FOR FIXED OR FLOATING VARIABLES INCLUDE:##MEAN, MEDIAN, MODE, MAXIMUM,
MINIMUM, RANGE, STANDARD DEVIATION, VARIANCE, SKEWNESS, AND KURTOSIS.
FOR ALPHA VARIABLES ONLY THE MAXIMUM AND MINIMUM ARE CALCULATED.
BARGRAPHS WILL BE INCLUDED REGARDLESS OF THE TYPE OF VARIABLE.  IF 35 OR
FEWER INDIVIDUAL VALUES FOR A VARIABLE EXIST, EACH VALUE IS GIVEN A
SEPARATE LINE, OTHERWISE THE OVERALL RANGE OF THE VARIABLE IS BROKEN
INTO 35 SEPARATE AND EQUAL RANGES. FOR EACH BAR PRINTED IN THE BARGRAPH,
THE VALUE OR RANGE OF VALUES USED IN THAT BAR, THE FREQUENCY, THE
PERCENT AND THE CUMULATIVE PERCENT IS PRINTED.  RESULTS ARE SPOOLED TO
THE LINE PRINTER AND PRINTED ONLY WHEN THE RUN IS COMPLETED (SIGNALED BY
TYPING A CONTROL Z (_^Z) WHEN ASKED TO ENTER ANOTHER BANK).  OUTPUT MAY
BE PICKED UP AT THE COMPUTER CENTER OUTPUT WINDOW ON THE THIRD FLOOR OF
ROOD HALL.
.SKIP 1
.INDENT -5
NOTE:  USER MUST EXIT FROM PROGRAM WITH TWO CONTROL Z (_^Z) OR A CALL TO
ANOTHER PROGRAM (E.G. /STP), OTHERWISE THE RESULTS WILL NOT BE PRINTED.
.SKIP 2
.NOFILL
.INDENT -5
EXAMPLES:
.SKIP 1
?#STDES VAR:SEX,AGE,HEIGHT,WEIGHT$
#
[OUTPUT ON FOLLOWING PAGES]
#
.SKIP 4
?#STDES VAR:WEIGHT  SELECT:AGE<25  SELECT:WEIGHT>100$
#
[OUTPUT ON FOLLOWING PAGES]
.PAGE
.LEFT MARGIN 0
.RIGHT MARGIN 132
16-SEP-74      BANK                   W E S T E R N   M I C H I G A N   U N I V E R S I T Y                         PAGE    1
#
               TAKEN FROM BANK: TESTOR.BNK     CREATED ON: 16-Sep-74     BY PROJECT-PROGRAMMER NUMBER    220,    220
------------------------------------------------------------------------------------------------------------------------------------

 VARIABLE: SEX      NUMBER:    4     DESCRIPTION:SEX OF RESPONDANT                            VARIABLE TYPE: ALPHA

THERE WERE    537 OBSERVATIONS, WHICH INCLUDED     21 CASES OF MISSING DATA SELECTED FROM A TOTAL OF     537 OBSERVATIONS

MAXIMUM= MALE                                     MINIMUM= FEMAL

                                                             CUMULATIVE           15.0      30.0      45.0      60.0      75.0
           VALUE                    FREQUENCY   PERCENTAGE   PERCENTAGE   +---------+---------+---------+---------+---------+
           FEMAL                        264       51.163       51.163     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           MALE                         252       48.837      100.000     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                                    -------                               +---------+---------+---------+---------+---------+
                                        516                                       15.0      30.0      45.0      60.0      75.0


------------------------------------------------------------------------------------------------------------------------------------

 VARIABLE: AGE      NUMBER:    1     DESCRIPTION:AGE OF RESPONDANT                            VARIABLE TYPE: FLOAT

THERE WERE    537 OBSERVATIONS, WHICH INCLUDED     54 CASES OF MISSING DATA SELECTED FROM A TOTAL OF     537 OBSERVATIONS

SUM OF OBSERVATIONS=    12645.00                  SUM OF OBSERVATIONS SQUARED=    342641.0          NUMBER OF OBSERVATIONS=     483
MEAN=    26.18012                                 MEDIAN=    26.00000                               MODE=    21.00000
MAXIMUM=    35.00000                              MINIMUM=    18.00000                              RANGE=    17.00000
STANDARD ERROR OF MEAN=   0.2231552               STANDARD DEVIATION=    4.904340                   VARIANCE=    24.05255
COEFFICIENT OF SKEWNESS=   0.1646772              COEFFICIENT OF VARIATION=    18.73307             KURTOSIS=    1.878051

                                                             CUMULATIVE            2.0       4.0       6.0       8.0      10.0
           VALUE                    FREQUENCY   PERCENTAGE   PERCENTAGE   +---------+---------+---------+---------+---------+
           18.00000                      12        2.484        2.484     IXXXXXXXXXXXX
           19.00000                      26        5.383        7.867     IXXXXXXXXXXXXXXXXXXXXXXXXXXX
           20.00000                      29        6.004       13.872     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           21.00000                      42        8.696       22.567     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           22.00000                      40        8.282       30.849     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           23.00000                      24        4.969       35.818     IXXXXXXXXXXXXXXXXXXXXXXXXX
           24.00000                      23        4.762       40.580     IXXXXXXXXXXXXXXXXXXXXXXXX
           25.00000                      32        6.625       47.205     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           26.00000                      26        5.383       52.588     IXXXXXXXXXXXXXXXXXXXXXXXXXXX
           27.00000                      29        6.004       58.592     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           28.00000                      37        7.660       66.253     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           29.00000                      37        7.660       73.913     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           30.00000                      15        3.106       77.019     IXXXXXXXXXXXXXXXX
           31.00000                      15        3.106       80.124     IXXXXXXXXXXXXXXXX
           32.00000                      24        4.969       85.093     IXXXXXXXXXXXXXXXXXXXXXXXXX
           33.00000                      33        6.832       91.925     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           34.00000                      16        3.313       95.238     IXXXXXXXXXXXXXXXXX
           35.00000                      23        4.762      100.000     IXXXXXXXXXXXXXXXXXXXXXXXX
                                    -------                               +---------+---------+---------+---------+---------+
                                        483                                        2.0       4.0       6.0       8.0      10.0
.PAGE
16-Sep-74      BANK                   W E S T E R N   M I C H I G A N   U N I V E R S I T Y                       PAGE    2

               TAKEN FROM BANK: TESTOR.BNK     CREATED ON: 16-Sep-74     BY PROJECT-PROGRAMMER NUMBER    220,    220
------------------------------------------------------------------------------------------------------------------------------------

 VARIABLE: HEIGH    NUMBER:    2     DESCRIPTION:HEIGHT OF RESPONDANT                         VARIABLE TYPE: FLOAT

THERE WERE    537 OBSERVATIONS, WHICH INCLUDED      1 CASES OF MISSING DATA SELECTED FROM A TOTAL OF     537 OBSERVATIONS

SUM OF OBSERVATIONS=    32015.00                  SUM OF OBSERVATIONS SQUARED=    1924643.          NUMBER OF OBSERVATIONS=     536
MEAN=    59.72948                                 MEDIAN=    60.00000                               MODE=    60.00000
MAXIMUM=    75.00000                              MINIMUM=    48.00000                              RANGE=    27.00000
STANDARD ERROR OF MEAN=   0.2079781               STANDARD DEVIATION=    4.815042                   VARIANCE=    23.18463
COEFFICIENT OF SKEWNESS=   0.9387108E-02          COEFFICIENT OF VARIATION=    8.061416             KURTOSIS=    2.826806

                                                             CUMULATIVE            2.0       4.0       6.0       8.0      10.0
           VALUE                    FREQUENCY   PERCENTAGE   PERCENTAGE   +---------+---------+---------+---------+---------+
           48.00000                       4        0.746        0.746     IXXXX
           49.00000                       9        1.679        2.425     IXXXXXXXX
           50.00000                       4        0.746        3.172     IXXXX
           51.00000                       6        1.119        4.291     IXXXXXX
           52.00000                      11        2.052        6.343     IXXXXXXXXXX
           53.00000                      22        4.104       10.448     IXXXXXXXXXXXXXXXXXXXXX
           54.00000                      18        3.358       13.806     IXXXXXXXXXXXXXXXXX
           55.00000                      26        4.851       18.657     IXXXXXXXXXXXXXXXXXXXXXXXX
           56.00000                      40        7.463       26.119     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           57.00000                      41        7.649       33.769     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           58.00000                      36        6.716       40.485     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           59.00000                      31        5.784       46.269     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           60.00000                      48        8.955       55.224     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           61.00000                      47        8.769       63.993     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           62.00000                      37        6.903       70.896     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           63.00000                      37        6.903       77.799     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           64.00000                      36        6.716       84.515     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           65.00000                      25        4.664       89.179     IXXXXXXXXXXXXXXXXXXXXXXX
           66.00000                      17        3.172       92.351     IXXXXXXXXXXXXXXXX
           67.00000                      14        2.612       94.963     IXXXXXXXXXXXXX
           68.00000                       9        1.679       96.642     IXXXXXXXX
           69.00000                       5        0.933       97.575     IXXXXX
           70.00000                       6        1.119       98.694     IXXXXXX
           71.00000                       3        0.560       99.254     IXXX
           72.00000                       3        0.560       99.813     IXXX
           75.00000                       1        0.187      100.000     IX
                                    -------                               +---------+---------+---------+---------+---------+
                                        536                                        2.0       4.0       6.0       8.0      10.0
.PAGE
16-Sep-74      BANK                   W E S T E R N   M I C H I G A N   U N I V E R S I T Y                       PAGE    3

               TAKEN FROM BANK: TESTOR.BNK     CREATED ON: 16-Sep-74     BY PROJECT-PROGRAMMER NUMBER    220,    220
------------------------------------------------------------------------------------------------------------------------------------

 VARIABLE: WEIGH    NUMBER:    3     DESCRIPTION:WEIGHT OF RESPONDANT                         VARIABLE TYPE: FLOAT

THERE WERE    537 OBSERVATIONS, WHICH INCLUDED      0 CASES OF MISSING DATA SELECTED FROM A TOTAL OF     537 OBSERVATIONS

SUM OF OBSERVATIONS=    69442.00                  SUM OF OBSERVATIONS SQUARED=    9026900.          NUMBER OF OBSERVATIONS=     537
MEAN=    129.3147                                 MEDIAN=    129.0000                               MODE=    125.0000
MAXIMUM=    158.0000                              MINIMUM=    94.00000                              RANGE=    64.00000
STANDARD ERROR OF MEAN=   0.4042109               STANDARD DEVIATION=    9.366884                   VARIANCE=    87.73851
COEFFICIENT OF SKEWNESS=   0.6203631E-01          COEFFICIENT OF VARIATION=    7.243479             KURTOSIS=    3.175451

                                                             CUMULATIVE            2.0       4.0       6.0       8.0      10.0
           VALUE                    FREQUENCY   PERCENTAGE   PERCENTAGE   +---------+---------+---------+---------+---------+
   94.00000     -   95.82857              1        0.186        0.186     IX
   95.82857     -   97.65714              0        0.000        0.186     I
   97.65714     -   99.48571              0        0.000        0.186     I
   99.48571     -   101.3143              0        0.000        0.186     I
   101.3143     -   103.1429              1        0.186        0.372     IX
   103.1429     -   104.9714              0        0.000        0.372     I
   104.9714     -   106.8000              2        0.372        0.745     IXX
   106.8000     -   108.6286              3        0.559        1.304     IXXX
   108.6286     -   110.4571              3        0.559        1.862     IXXX
   110.4571     -   112.2857              7        1.304        3.166     IXXXXXXX
   112.2857     -   114.1143              8        1.490        4.655     IXXXXXXX
   114.1143     -   115.9429              5        0.931        5.587     IXXXXX
   115.9429     -   117.7714             20        3.724        9.311     IXXXXXXXXXXXXXXXXXXX
   117.7714     -   119.6000             23        4.283       13.594     IXXXXXXXXXXXXXXXXXXXXX
   119.6000     -   121.4286             27        5.028       18.622     IXXXXXXXXXXXXXXXXXXXXXXXXX
   121.4286     -   123.2571             50        9.311       27.933     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   123.2571     -   125.0857             43        8.007       35.940     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   125.0857     -   126.9143             24        4.469       40.410     IXXXXXXXXXXXXXXXXXXXXXX
   126.9143     -   128.7429             39        7.263       47.672     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   128.7429     -   130.5714             49        9.125       56.797     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   130.5714     -   132.4000             34        6.331       63.128     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   132.4000     -   134.2286             46        8.566       71.695     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   134.2286     -   136.0571             35        6.518       78.212     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   136.0571     -   137.8857             23        4.283       82.495     IXXXXXXXXXXXXXXXXXXXXX
   137.8857     -   139.7143             19        3.538       86.034     IXXXXXXXXXXXXXXXXXX
   139.7143     -   141.5429             21        3.911       89.944     IXXXXXXXXXXXXXXXXXXXX
   141.5429     -   143.3714             15        2.793       92.737     IXXXXXXXXXXXXXX
   143.3714     -   145.2000             11        2.048       94.786     IXXXXXXXXXX
   145.2000     -   147.0286              8        1.490       96.276     IXXXXXXX
   147.0286     -   148.8571              3        0.559       96.834     IXXX
   148.8571     -   150.6857             10        1.862       98.696     IXXXXXXXXX
   150.6857     -   152.5143              4        0.745       99.441     IXXXX
   152.5143     -   154.3429              2        0.372       99.814     IXX
   154.3429     -   156.1714              0        0.000       99.814     I
   156.1714     -   158.0000              1        0.186      100.000     IX
                                    -------                               +---------+---------+---------+---------+---------+
                                        537                                        2.0       4.0       6.0       8.0      10.0
.PAGE
16-Sep-74      BANK                   W E S T E R N   M I C H I G A N   U N I V E R S I T Y                       PAGE    4

               TAKEN FROM BANK: TESTOR.BNK     CREATED ON: 16-Sep-74     BY PROJECT-PROGRAMMER NUMBER    220,    220
------------------------------------------------------------------------------------------------------------------------------------

 VARIABLE: HEIGH    NUMBER:    2     DESCRIPTION:HEIGHT OF RESPONDANT                         VARIABLE TYPE: FLOAT

TO BE INCLUDED IN THE SAMPLE AN OBSERVATION MUST SATISFY THE FOLLOWING RESTRICTIONS:
    AGE<25     AND     WEIGHT>100.


THERE WERE    196 OBSERVATIONS, WHICH INCLUDED      1 CASES OF MISSING DATA SELECTED FROM A TOTAL OF     537 OBSERVATIONS

SUM OF OBSERVATIONS=    11710.00                  SUM OF OBSERVATIONS SQUARED=    707934.0          NUMBER OF OBSERVATIONS=     195
MEAN=    60.05128                                 MEDIAN=    60.00000                               MODE=    60.00000
MAXIMUM=    75.00000                              MINIMUM=    48.00000                              RANGE=    27.00000
STANDARD ERROR OF MEAN=   0.3537304               STANDARD DEVIATION=    4.939577                   VARIANCE=    24.39942
COEFFICIENT OF SKEWNESS=   0.1268119E-01          COEFFICIENT OF VARIATION=    8.225598             KURTOSIS=    2.827127

                                                             CUMULATIVE            2.0       4.0       6.0       8.0      10.0
           VALUE                    FREQUENCY   PERCENTAGE   PERCENTAGE   +---------+---------+---------+---------+---------+
           48.00000                       1        0.513        0.513     IXXX
           49.00000                       3        1.538        2.051     IXXXXXXXX
           50.00000                       2        1.026        3.077     IXXXXX
           51.00000                       1        0.513        3.590     IXXX
           52.00000                       4        2.051        5.641     IXXXXXXXXXX
           53.00000                      11        5.641       11.282     IXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           54.00000                       5        2.564       13.846     IXXXXXXXXXXXXX
           55.00000                       8        4.103       17.949     IXXXXXXXXXXXXXXXXXXXXX
           56.00000                      12        6.154       24.103     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           57.00000                      15        7.692       31.795     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           58.00000                      12        6.154       37.949     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           59.00000                      11        5.641       43.590     IXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           60.00000                      18        9.231       52.821     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           61.00000                      17        8.718       61.538     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           62.00000                       9        4.615       66.154     IXXXXXXXXXXXXXXXXXXXXXXX
           63.00000                      15        7.692       73.846     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           64.00000                      17        8.718       82.564     IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
           65.00000                      10        5.128       87.692     IXXXXXXXXXXXXXXXXXXXXXXXXXX
           66.00000                       8        4.103       91.795     IXXXXXXXXXXXXXXXXXXXXX
           67.00000                       4        2.051       93.846     IXXXXXXXXXX
           68.00000                       5        2.564       96.410     IXXXXXXXXXXXXX
           69.00000                       1        0.513       96.923     IXXX
           70.00000                       3        1.538       98.462     IXXXXXXXX
           71.00000                       1        0.513       98.974     IXXX
           72.00000                       1        0.513       99.487     IXXX
           75.00000                       1        0.513      100.000     IXXX
                                    -------                               +---------+---------+---------+---------+---------+
                                        195                                        2.0       4.0       6.0       8.0      10.0
.PAGE
.PAGE SIZE 58,60
.LEFT MARGIN 5
.RIGHT MARGIN 70
.INDEX TYPE
.INDENT -5
COMMAND:##TYPE
.INDENT -5
--------------
.SKIP 2
.INDENT -5
.FILL
PURPOSE:##ALLOW THE USER TO WRITE ON A TERMINAL INFORMATION OR DATA
STORED IN A BANK FILE.
.SKIP 2
.INDENT -5
SWITCHES WHICH MAY BE USED WITH THE COMMAND:##VARIABLE, OBSERVATION,
SELECT, INFORMATION, BELL AND W/O.
.SKIP 2
.INDENT -5
DESCRIPTION:##THE "TYPE" COMMAND ENABLES THE USER TO OBTAIN A COPY OF
DATA OR INFORMATION ABOUT VARIABLES ON THE TERMINAL.  SUBSETS OF DATA
MAY BE OBTAINED BY USING THE VARIABLE, OBSERVATION, AND SELECT SWITCHES.
THE INFORMATION SWITCH IS USED WHEN INFORMATION ABOUT VARIABLES RATHER
THAN ACTUAL VALUES ARE DESIRED.  DATA WHICH IS MISSING (MISSING DATA)
WILL BE DENOTED BY THE WORD "MISSING" FOR ALL DATA TYPES.  HEADERS WILL
BE INCLUDED ON ALL TYPE COMMANDS UNLESS THE W/O SWITCH IS USED TO
SUPPRESS THEM.  FOR LARGER VOLUMES OF OUTPUT THE "PRINT" COMMAND MAY BE
USED.
.SKIP 3
.INDENT -5
.NOFILL
EXAMPLES:
.SKIP 1
?#TYPE OBS:1##VAR:OBSER
*#$
.SKIP 1
OBS.############VARIABLES
########OBSER
.SKIP 1
###1###1.000
.SKIP 1
[TYPE OBSERVATION 1 FOR VARIABLE:OBSER.]
.SKIP 4
?#TYPE OBS:1$
.SKIP 1
OBS.############VARIABLES
########OBSER#######AGE######MA
.SKIP 1
###1###1.000#######21.00####MISSING
.SKIP 1
[TYPE OBSERVATION 1.]
.PAGE
?#TYPE VAR:AGE$
.SKIP 1
OBS.###########VARIABLES
########AGE
.SKIP 1
###1###21.00
###2###18.00
###3###MISSING
###4###15.00
.SKIP 1
[TYPE THE VARIABLE:AGE.]
.SKIP 4
?#TYPE VAR:AGE##W/O:$
.SKIP 1
21.00
18.00
MISSING
15.00
.SKIP 1
[TYPE THE VARIABLE:AGE WITHOUT HEADERS.]
.SKIP 4
?#TYPE OBS:1,3##W/O:$
.SKIP 1
1.000######21.00#########MISSING
3.000######MISSING#######14.00
.SKIP 1
[TYPE OBSERVATIONS 1 AND 3 WITHOUT HEADERS.]
.SKIP 4
?#TYPE SELECT:AGE=21$
.SKIP 1
OBS.############VARIABLES
########OBSER#######AGE######MA
.SKIP 1
###1###1.000#######21.00####MISSING
.SKIP 1
[TYPE ALL OBSERVATIONS WHERE AGE IS EQUAL TO 21.]
.PAGE
?#TYPE VAR:OBSER##SELECT:AGE=21$
.SKIP 1
OBS.############VARIABLES
########OBSER
.SKIP 1
###1###1.000
.FILL
.SKIP 1
[TYPE THE VARIABLE:OBSER FOR ALL OBSERVATIONS WHERE AGE IS EQUAL TO 21.]
.NOFILL
.SKIP 4
?#TYPE VAR:OBSER##SELECT:MA=MISS$
.SKIP 1
OBS.############VARIABLES
########OBSER
.SKIP 1
###1###1.000
.SKIP 1
.FILL
[TYPE THE VARIABLE:OBSER FOR ALL OBSERVATIONS WHERE VARIABLE:MA IS
MISSING.]
.NOFILL
.SKIP 4
?#TYPE INFO:$
.SKIP 1
BANK A.BNK
.SKIP 1
CONTAINS   3 VARIABLES AND   4 OBSERVATIONS, CREATED ON 2-JUL-74
PROJECT-PROGRAMMER NUMBER   220,   220 IS RESPONSIBLE FOR CONTENT
.SKIP 1
  VARIABLE
NAME   NUMBER   MODE####DATA DESCRIPTION
OBSER#####1#####FLOAT###OBSERVATION NUMBER
AGE#######2#####FLOAT###AGE IN YEARS
MA########3#####FLOAT###MENTAL AGE IN YEARS
.SKIP 1
[TYPE INFORMATION ABOUT THE BANK AND THE VARIABLES IN THE BANK.]
.SKIP 4
?#TYPE INFO:VAR:2,3  W/O:$
.SKIP 1
AGE#####2#####FLOAT###AGE IN YEARS
MA######3#####FLOAT###MENTAL AGE IN YEARS
.FILL
.SKIP 1
[TYPE INFORMATION ABOUT THE SECOND AND THIRD VARIABLES IN THE BANK
WITHOUT ANY HEADERS.]
.PAGE
.LEFT MARGIN 5
.FILL
.INDEX BANK
.INDENT -5
SWITCH:##BANK
.INDENT -5
-------------
.SKIP 1
.INDENT -5
PURPOSE:##SPECIFY A BANK TO BE MERGED.
.SKIP 1
.INDENT -5
DEFAULT:##NO DEFAULT
.SKIP 1
.INDENT -5
THIS SWITCH MUST BE USED WITH THE COMMAND:##MERGE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "BANK" SWITCH ALLOWS THE USER TO SPECIFY THE BANK TO
BE USED IN A "MERGE" COMMAND.  THE CORRECT FORM OF THE "BANK" SWITCH
IS THE WORD BANK FOLLOWED BY A COLON (:) AND THE BANK NAME WITHOUT
AN EXTENSION.  IF THE BANK TO BE MERGED IS IN ANOTHER AREA, THE
PROJECT-PROGRAMMER NUMBER SEPARATED BY A COMMA AND ENCLOSED IN BRACKETS
SHOULD FOLLOW THE NAME OF THE BANK, WITH NO INTERVENING SPACES. ONLY ONE
BANK SWITCH MAY BE USED IN AN INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
BANK:SAM
.SKIP 1
BANK:DATA[220,220]
.PAGE
.LEFT MARGIN 5
.FILL
.INDEX BELL
.INDENT -5
SWITCH:##BELL
.INDENT -5
-------------
.SKIP 1
.INDENT -5
PURPOSE:##ALLOW USER TO UTILIZE THE TERMINAL BELL TO SIGNAL THE
COMPLETION OF AN INSTRUCTION.
.SKIP 1
.INDENT -5
DEFAULT:##IF NOT USED, BELLS WILL NOT SOUND UPON COMPLETION.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##CHANGE, DELETE, BACKUP,
CREATE, OUTPUT, MERGE, PRINT, STDES, TYPE, SORT, SET, AND =.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "BELL" SWITCH ALLOWS THE USER TO SPECIFY UP TO 99
BELLS TO BE SOUNDED WHEN AN INSTRUCTION HAS BEEN COMPLETED.  THE CORRECT
FORM OF THE "BELL" SWITCH IS THE WORD BELL FOLLOWED BY A COLON (:) AND
THE NUMBER OF BELLS TO BE SOUNDED.  ONLY ONE "BELL" SWITCH MAY BE USED
PER INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
BELL:2
.SKIP 1
BELL:99
.SKIP 1
BELL:5
.PAGE
.INDEX CONSTANT
.INDEX CON
.INDENT -5
SWITCH:##CONSTANT OR CON
.INDENT -5
-------------------------
.INDENT -5
.SKIP 1
PURPOSE:##SPECIFY A CONSTANT VALUE TO BE USED FOR REPLACEMENT.
.SKIP 1
.INDENT -5
DEFAULT:##VALUES FOR REPLACEMENT TO BE ENTERED ON THE TERMINAL.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##MODIFY, CHANGE, OR REPLACE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "CONSTANT" SWITCH IS USED TO SPECIFY A CONSTANT VALUE
AS A REPLACEMENT IN A "MODIFY" COMMAND.  THE CORRECT FORM OF THE
"CONSTANT" SWITCH IS THE WORD CONSTANT OR CON FOLLOWED BY A COLON (:)
AND THE VALUE TO BE USED AS A CONSTANT.  THE CONSTANT VALUE SPECIFIED
MUST AGREE IN MODE WITH THE VALUES OF THE VARIABLES WHICH IT WILL
REPLACE, THUS ALPHA VALUES MUST BE ENCLOSED IN QUOTES. ONLY ONE CONSTANT
SWITCH MAY BE SPECIFIED PER INSTRUCTION.  THE MISSING DATA SYMBOL MAY BE
SPECIFIED AS A CONSTANT BY USING THE WORD MISS OR MISSING AS THE VALUE.
.SKIP 1
.INDENT -5
NOTE:  QUOTES (') ARE NECESSARY FOR ALPHA DATA.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
CONST:MISS
.SKIP 1
CONST:1000
.SKIP 1
CONST:'JIM'
.SKIP 1
CONST:104.3
.PAGE
.INDEX DEVICE
.INDEX DEV
.INDENT -5
SWITCH:##DEVICE OR DEV
.INDENT -5
-----------------------
.SKIP 1
.INDENT -5
PURPOSE:##SPECIFY AN OUTPUT DEVICE.
.SKIP 1
.INDENT -5
DEFAULT:##DSK:OUT.DAT
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##OUTPUT AND SET.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "DEVICE" SWITCH IS USED TO INDICATE THE DESTINATION
FOR DATA REQUESTED IN AN "OUTPUT" COMMAND.  THE CORRECT FORM OF THE
"DEVICE" SWITCH IS THE WORD DEVICE OR DEV FOLLOWED BY A COLON (:) AND
THE DEVICE NAME ALSO FOLLOWED BY A COLON.  IF THE DEVICE INDICATED IS
A DIRECTORY DEVICE (DEVICE REQUIRING A NAME TO LOCATE THE FILE AS WITH
DISK OR DECTAPE), A NAME FOR THE FILE TO BE ACCESSED MUST ALSO BE GIVEN.
IF THE DEVICE IS NON-DIRECTORY (SEQUENTIAL) THEN IT MUST BE CORRECTLY
POSITIONED PRIOR TO THE USE OF THE SWITCH.  ONLY ONE DEVICE SWITCH MAY
BE SPECIFIED PER INSTRUCTION.  IF THE LINEPRINTER IS USED AS THE DEVICE
THE OUTPUT WILL BE SPOOLED AND ENTERED INTO THE PRINT QUEUE UPON
COMPLETION OF THE INSTRUCTION.
.SKIP 1
DEVICES WHICH MAY BE USED:
.SKIP 1
.TAB STOPS 10,20
.NOFILL
	DEVICE
	NAME	DEVICE
	------	------
	DSK	DISK (DIRECTORY)
	DTA3	DECTAPE UNIT 3 (DIRECTORY)
	MTA0	MAGTAPE UNIT 0 (SEQUENTIAL)
	LPT	LINEPRINTER (SEQUENTIAL - WILL BE SPOOLED)
	CDP	CARD PUNCH (SEQUENTIAL)
	PTP	PAPER TAPE PUNCH (SEQUENTIAL)
	TTY	TERMINAL (SEQUENTIAL)
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
DEVICE:LPT:
.SKIP 1
DEVICE:DSK:SAM.DAT
.SKIP 1
DEVICE:TTY:
.PAGE
.LEFT MARGIN 5
.FILL
.INDEX FORMAT
.INDEX FMT

.INDENT -5
SWITCH:##FORMAT OR FMT
.INDENT -5
-----------------------
.SKIP 1
.INDENT -5
PURPOSE:##SPECIFY AN OUTPUT FORMAT.
.SKIP 1
.INDENT -5
DEFAULT:##PROGRAM WILL SUPPLY A FORMAT COMPRISED OF G15.7, I15, AND A5.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##SET AND OUTPUT.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "FORMAT" SWITCH ALLOWS THE USER TO ENTER HIS OWN
OUTPUT FORMAT.  THE CORRECT FORM OF THE "FORMAT" SWITCH IS THE WORD
FORMAT OR FMT FOLLOWED BY A COLON (:) AND THE FORTRAN FORMAT ENCLOSED
IN PARENTHESES.  THE FORMAT STATEMENT MAY BE UP TO 400 CHARACTERS LONG
INCLUDING PARENTHESES, AND MAY EXTEND FOR MORE THAN 4 LINES.  FORMATS
SPECIFIED IN THIS MANNER MAY INCLUDE ALPHANUMERIC LITERALS ENCLOSED IN
SINGLE QUOTES (').  ONLY ONE FORMAT STATEMENT MAY BE USED PER
INSTRUCTION. FORMAT SPECIFICATIONS MUST AGREE IN MODE WITH THE VARIABLES
THEY INTEND TO DEFINE.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
FMT:(1X,A5,2X,3I4,1X,F12.2)
.SKIP 1
FMT:('STUDENT ID:',I9,2X,'DOLLARS USED',F7.2)
.SKIP 1
FMT:(5G)
.PAGE
.LEFT MARGIN 5
.INDEX IDENTIFICATION
.INDEX ID
.INDENT -5
SWITCH:##IDENTIFICATION OR ID
.INDENT -5
------------------------------
.SKIP 1
.INDENT -5
PURPOSE:##INDICATE THAT INFORMATION ABOUT VARIABLES, NOT THE DATA, IS TO
BE MODIFIED.
.SKIP 1
.INDENT -5
DEFAULT:##NONE
.SKIP 1
.INDENT -5
THIS SWITCH IS USED WITH THE COMMAND:##CHANGE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "IDENTIFICATION" SWITCH IS USED WITH THE "MODIFY"
COMMAND WHEN THE INFORMATION ABOUT A VARIABLE (NAME AND DESCRIPTION)
RATHER THAN THE ACTUAL DATA IS TO BE CHANGED.  THE CORRECT FORM FOR THE
"IDENTIFICATION" SWITCH IS THE WORD IDENTIFICATION OR ID FOLLOWED BY A
COLON (:).  ONE AT A TIME THE NAME FOR EACH VARIABLE INDICATED IN THE
INSTRUCTION IS TYPED OUT FOLLOWED BY A QUESTION MARK. CHANGES TO THE
IDENTIFICATION OF A VARIABLE ARE ENTERED IN THE SAME MANNER AS THEY WERE
ORIGINALLY ENTERED, THAT IS:##THE NAME (UP TO 5 ALPHANUMERIC CHARACTERS,
FIRST CHARACTER MUST BE A LETTER), A SEMICOLON (;), AND THE DESCRIPTION
(UP TO 40 CHARACTERS).  IF NO CHANGE IN IDENTIFICATION IS DESIRED, ENTER
A CARRIAGE RETURN.  CHANGES ARE MADE IMMEDIATELY TO THE BANK FILE, THUS
ENTERING A CONTROL C (_^C) BEFORE FINISHING WILL NOT PRESERVE THE
ORIGINAL BANK FILE. ONLY ONE "IDENTIFICATION" SWITCH MAY BE USED PER
INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
IDENTIFICATION:
.SKIP 1
ID:
.PAGE
.INDEX INFORMATION
.INDEX INFO
.INDENT -5
SWITCH:##INFORMATION OR INFO
.INDENT -5
-----------------------------
.SKIP 1
.INDENT -5
PURPOSE:##INDICATE THAT NAMES, DESCRIPTIONS, AND MODES OF VARIABLES
ARE DESIRED RATHER THAN ACTUAL DATA.
.SKIP 1
.INDENT -5
DEFAULT:##NONE
.SKIP 1
.INDENT -5
THIS SWITCH IS USED WITH THE COMMANDS:##PRINT AND TYPE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "INFORMATION" SWITCH IS USED WITH THE "TYPE" OR
"PRINT" COMMANDS WHEN NAMES, DESCRIPTIONS AND MODES OF VARIABLES ARE
DESIRED RATHER THAN DATA.  THE CORRECT FORM FOR THE "INFORMATION"
SWITCH IS THE WORD INFORMATION OR INFO FOLLOWED BY A COLON (:). ONLY ONE
"INFORMATION" SWITCH MAY BE USED PER INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
INFORMATION:
.SKIP 1
INFO:
.PAGE
.INDEX MAJOR-TO-MINOR
.INDEX MTM
.INDENT -5
SWITCH:##MAJOR-TO-MINOR OR MTM
.INDENT -5
-------------------------------
.SKIP 1
.INDENT -5
PURPOSE:##LIST THE MAJOR TO MINOR SEQUENCE OF VARIABLES TO BE USED AS A
SORT KEY.
.SKIP 1
.INDENT -5
DEFAULT:##NONE
.SKIP 1
.INDENT -5
THIS SWITCH MUST BE USED WITH THE COMMAND:##SORT.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "MAJOR-TO-MINOR" SWITCH IS USED TO LIST THE MAJOR TO
MINOR SORT SEQUENCE.  THE CORRECT FORM OF THE "MAJOR-TO-MINOR" SWITCH IS
THE WORDS MAJOR-TO-MINOR OR MTM FOLLOWED BY A COLON (:) AND A LIST OF UP
TO 20 VARIABLES SEPARATED BY COMMAS.  THE FIRST VARIABLE OF THE LIST IS
THE MAJOR SORT VARIABLE, AND THE LAST VARIABLE SPECIFIED IS CONSIDERED
THE MINOR SORT VARIABLE.  VARIABLES ARE INDICATED BY USING THE VARIABLE
NAMES OR THE NUMBER OF THE VARIABLES.  RANGES OF VARIABLES MAY NOT BE
ENTERED FOR A "MAJOR-TO-MINOR" SWITCH.  MORE THAN ONE MAJOR-TO-MINOR
SWITCH MAY BE USED IN AN INSTRUCTION, HOWEVER, THE MAXIMUM NUMBER OF
VARIABLES SPECIFIED AS THE SORT KEY MAY NOT EXCEED 20.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
MTM:SEX,AGE
.SKIP 1
MTM:NAM1,NAM2,NAM3,NAM4,NAM5
.SKIP 1
MAJOR-TO-MINOR:CLASS,ID
.PAGE
.INDEX MATCH
.INDENT -5
SWITCH:##MATCH
.INDENT -5
--------------
.SKIP 1
.INDENT -5
PURPOSE:##INDICATE THOSE VARIABLES WHICH MUST AGREE WHEN RUNNING A MERGE
AS AN UPDATING PROCEDURE.
.SKIP 1
.INDENT -5
DEFAULT:##NONE
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMAND:##MERGE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "MATCH" SWITCH IS USED TO SPECIFY THOSE VARIABLES
WHICH MUST AGREE BEFORE AN OBSERVATION IN AN UPDATING BANK REPLACES AN
OBSERVATION IN THE RESIDENT BANK ON A MERGE.  THE CORRECT FORM OF THE
"MATCH" SWITCH IS THE WORD MATCH FOLLOWED BY A COLON (:) AND A STRING OF
UP TO 20 VARIABLES SEPARATED BY COMMAS.  RANGES OF VARIABLES CANNOT BE
SPECIFIED IN A MATCH SWITCH. MORE THAN ONE MATCH SWITCH MAY BE SPECIFIED
FOR AN INSTRUCTION, HOWEVER, THE MAXIMUM NUMBER OF VARIABLES WHICH MAY
BE USED TO MATCH ON IS 20.
.SKIP 1
.INDENT 5
TWO BANKS MAY BE MERGED SO THAT THE FIRST OBSERVATION FOR THE UPDATING
BANK UPDATES THE FIRST OBSERVATION IN THE RESIDENT BANK, THE SECOND
OBSERVATION UPDATES THE SECOND OBSERVATIONS...ETC. TO DO THIS, THE MATCH
IS PERFORMED ON THE OBSERVATION NUMBERS OF THE TWO BANKS, WHICH ARE
REFERENCED BY THE NAME "OBS".
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
MATCH:ID
.SKIP 1
MATCH:CLASS,SCHOOL,ID
.SKIP 1
MATCH:OBS
.PAGE
.LEFT MARGIN 5
.INDEX OBS
.INDEX OBSERVATION
.INDENT -5
SWITCH:##OBS OR OBSERVATION
.INDENT -5
----------------------------
.SKIP 1
.INDENT -5
PURPOSE:##DEFINE OBSERVATIONS TO BE ACTED UPON BY THE COMMAND.
.SKIP 1
.INDENT -5
DEFAULT:##IF NO OBSERVATION SWITCH IS USED, ALL OBSERVATIONS IN THE BANK
WILL BE ASSUMED.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##CHANGE, DELETE, CREATE,
OUTPUT, PRINT, STDES, TYPE, SET, AND =.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "OBSERVATION" SWITCH IS USED TO RESTRICT THE
OBSERVATIONS BEING ACTED.  THE CORRECT FORM FOR THE "OBSERVATION" SWITCH
IS THE WORD OBS OR OBSERVATION FOLLOWED BY A COLON (:) AND A STRING OF
OBSERVATION NUMBERS OR RANGES OF OBSERVATIONS SEPARATED BY COMMAS.
RANGES OF OBSERVATIONS ARE SPECIFIED BY ENTERING THE EXTREMES OF THE
RANGE SEPARATED BY A MINUS (-).  MORE THAN ONE OBSERVATION SWITCH MAY BE
ENTERED PER INSTRUCTION, BUT THE TOTAL NUMBER OF SINGLE OBSERVATIONS AND
RANGES OF OBSERVATIONS MUST BE LESS THAN 30.  OBSERVATION SWITCHES MAY
NOT EXTEND BEYOND ONE LINE.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
OBSERVATION:1000
.SKIP 1
OBS:1-500
.SKIP 1
OBS:1,7,9-12
.SKIP 1
OBS:1-9,14,17-21,25
.SKIP 1
OBSERVATION:1-100,200-210,300,400
.PAGE
.INDEX REFERENCE
.INDEX REF
.INDENT -5
SWITCH:##REFERENCE OR REF
.INDENT -5
--------------------------
.SKIP 1
.INDENT -5
PURPOSE:##OUTPUT THE VALUE OF ONE OR TWO VARIABLES AS A REFERENCE TO AN
OBSERVATION.
.SKIP 1
.INDENT -5
DEFAULT:##NO REFERENCE.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMAND:##CHANGE.
.SKIP 1
.INDENT -5
DESCRIPTION:##FOR EACH OBSERVATION IN WHICH A VARIABLE IS BEING
CHANGED, THE "REFERENCE" SWITCH TYPES OUT THE VALUE OF ONE OR TWO
VARIABLES BEFORE ALLOWING THE USER TO CHANGE THAT DATA.  THE CORRECT
FORM OF THE "REFERENCE" SWITCH IS THE WORD REFERENCE OR REF FOLLOWED BY
A COLON (:) AND A MAXIMUM OF TWO VARIABLES TO BE REFERENCED SEPARATED BY
A COMMA.  THE VARIABLES MAY BE INDICATED BY THE VARIABLE NAME OR THEIR
POSITION NUMBER IN THE BANK.  ONLY ONE REFERENCE SWITCH MAY BE USED IN
AN INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
REF:ID
.SKIP 1
REFERENCE:SOCSC,NAM1
.PAGE
.INDEX SELECT
.INDEX SUBSET
.INDENT -5
SWITCH:##SELECT OR SUBSET
.INDENT -5
-------------------------
.SKIP 1
.INDENT -5
PURPOSE:##DEFINE OBSERVATIONS TO BE ACTED UPON BY SELECTING ONLY THOSE
CASES MEETING USER SPECIFIED CRITERIA.
.SKIP 1
.INDENT -5
DEFAULT:##NO SELECTS.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##CHANGE, DELETE, OUTPUT,
PRINT, STDES, TYPE, SET, =.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "SELECT" SWITCH ALLOWS THE USER TO RESTRICT THE
OBSERVATIONS TO THOSE SELECTED.   ONLY THOSE OBSERVATIONS WHERE A USER
SPECIFIED VARIABLE HAS A USER DEFINED RELATIONSHIP TO A PREDETERMINED
VALUE WILL BE USED. THE CORRECT FORM FOR THE "SELECT" SWITCH IS THE WORD
SELECT OR SUBSET FOLLOWED BY A COLON (:), THE VARIABLE TO BE COMPARED
AGAINST, THE CONDITION OR RELATIONSHIP WHICH MUST BE MET, AND THE VALUE
THE VARIABLE IS TO BE COMPARED WITH.  THE VARIABLE MAY BE SPECIFIED BY
ITS NAME OR NUMBER.  THE  RELATIONSHIP IS ENTERED BY USING THE
SYMBOLS:##> (GREATER THAN), < (LESS THAN), AND = (EQUAL TO). TWO SYMBOLS
MAY BE COMBINED FORMING A NEW ONE AS WITH GREATER THAN OR EQUAL TO
(#>=#), OR NOT EQUAL (#<>#). THE VALUE TO BE COMPARED AGAINST MUST MATCH
IN MODE WITH THE VARIABLE BEING COMPARED, THUS ALPHA VALUES MUST BE
ENCLOSED IN QUOTES. IF THE RELATIONSHIP IS AN EQUAL (=), UP TO 20 VALUES
MAY BE ENTERED SEPARATED BY COMMAS. IF THE VALUE OF THE VARIABLE MATCHES
ANY OF VALUES IN THE SELECT, THEN THE SELECT HAS BEEN SATISFIED.  IF IT
IS NECESSARY TO "OR" TOGETHER TWO SELECTS, THE  FIRST IS FOLLOWED BY A
SEMICOLON AND THEN THE SECOND WITHOUT THE "SELECT:".  IF EITHER PORTION
OF THE SELECT IS TRUE, THEN THE SELECT IS SATISFIED. UP TO 20 SELECT
SWITCHES MAY BE ENTERED FOR EACH INSTRUCTION.  IN OPERATION, EACH
OBSERVATION FOR THE VARIABLE SPECIFIED IN THE SELECT SWITCH IS COMPARED
TO ITS CORRESPONDING VALUE, IF THE RELATIONSHIP INDICATED IS NOT VALID
THE OBSERVATION IS DISCARDED. ALL SELECT SWITCHES IN AN INSTRUCTION MUST
BE SATISFIED BEFORE AN OBSERVATION IS KEPT.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
SELECT:SEX='MALE'
.SKIP 1
[ONLY OBSERVATIONS WHERE SEX IS EQUAL TO MALE WILL BE USED.]
.SKIP 4
SUBSET:AGE<24
.SKIP 1
[ONLY OBSERVATIONS WHERE AGE IS LESS THAN 24 WILL BE USED.]
.SKIP 4
SELECT:RACE<>'WHITE'
.SKIP 1
[ONLY OBSERVATIONS WHERE RACE IS NOT EQUAL TO WHITE WILL BE USED.]
.SKIP 4
SELECT:SEX='MALE';AGE>24
.SKIP 1
[ONLY OBSERVATIONS WHERE SEX IS EQUAL TO MALE OR AGE IS GREATER THAN 24
WILL BE USED.]
.SKIP 4
SELECT:AGE=MISSING
.SKIP 1
[ONLY OBSERVATIONS WHERE AGE IS MISSING WILL BE USED.]
.SKIP 4
SELECT:SOCSC=384507294,366540126,366702911,363441138,508668040
.SKIP 1
.FILL
[ONLY OBSERVATIONS WHERE THE VARIABLE:SOCSC IS EQUAL TO 384507294, OR
366540126, OR 366702911, OR 363441138, OR 508668040 WILL BE USED.]
.SKIP 4
.NOFILL
SELECT:AGE<11;AGE>24
.SKIP 1
.FILL
[ONLY OBSERVATIONS WHERE AGE IS LESS THAN 11 OR AGE IS GREATER THAN
24 WILL BE USED.  (THIS MEANS OBSERVATIONS WHILE AGE IS BETWEEN 11 AND
24 WILL NOT BE CONSIDERED.)]
.SKIP 4
.NOFILL
SELECT:SEX=MISS,'MALE';MARTS='SINGL',MISS
.SKIP 1
.FILL
[ONLY OBSERVATIONS WHERE SEX IS 'MALE' OR MISSING OR MARTS IS 'SINGL' OR
MISSING WILL BE CONSIDERED.]
.PAGE
.INDEX VAR
.INDEX VARIABLE
.INDENT -5
SWITCH:##VAR OR VARIABLE
.INDENT -5
-------------------------
.SKIP 1
.INDENT -5
PURPOSE:##DEFINE VARIABLES TO BE ACTED UPON BY THE COMMAND.
.SKIP 1
.INDENT -5
DEFAULT:##ALL VARIABLES IN THE BANK.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##CHANGE, DELETE, OUTPUT,
PRINT, STDES, TYPE, AND SET.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "VARIABLE" SWITCH IS USED TO RESTRICT THE VARIABLES
BEING ACTED UPON BY SOME COMMANDS.  THE CORRECT FORM FOR THE "VARIABLE"
SWITCH IS THE WORD VAR OR VARIABLE FOLLOWED BY A COLON (:) AND A STRING
OF VARIABLES OR RANGES OF VARIABLES SEPARATED BY COMMAS.  RANGES OF
VARIABLES ARE SPECIFIED BY ENTERING THE EXTREMES OF THE RANGE SEPARATED
BY A MINUS (-).  MORE THAN ONE "VARIABLE" SWITCH MAY BE ENTERED PER
INSTRUCTION BUT THE TOTAL NUMBER OF SINGLE VARIABLES  AND RANGES OF
VARIABLES MUST BE LESS THAN OR EQUAL TO 30.  VARIABLES MAY BE INDICATED
BY VARIABLE NUMBER (POSITION IN THE BANK) OR NAME OF VARIABLE.  VARIABLE
SWITCHES MAY NOT EXTEND BEYOND ONE LINE.
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
VAR:1
.SKIP 1
VARIABLE:1,SEX,AGE
.SKIP 1
VAR:1-5,7
.SKIP 1
VARIABLE:1-3,IQ-TEST4,5,AGE
.PAGE
.LEFT MARGIN 5
.INDEX W/O
.INDENT -5
SWITCH:##W/O
.INDENT -5
------------
.SKIP 1
.INDENT -5
PURPOSE:##INDICATE THAT HEADERS ARE NOT DESIRED.
.SKIP 1
.INDENT -5
DEFAULT:##HEADERS WILL BE USED.
.SKIP 1
.INDENT -5
THIS SWITCH MAY BE USED WITH THE COMMANDS:##CHANGE, PRINT, AND TYPE.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "W/O" SWITCH IS USED TO ELIMINATE HEADERS FROM
DIALOGUE OR OUTPUT.  THE CORRECT FORM OF THE "W/O" SWITCH IS THE
CHARACTERS W/O FOLLOWED BY A COLON (:).  ONLY ONE "W/O" SWITCH MAY BE
USED PER INSTRUCTION.
.SKIP 2
.INDENT -5
EXAMPLE:
.SKIP 1
W/O:
.PAGE
.LEFT MARGIN 5
.INDEX PROGRAM TRANSFER
.INDENT -5
PROGRAM TRANSFER
.INDENT -5
----------------
.SKIP 2
.INDENT -5
PURPOSE:##INITIATE THE RUN OF ANOTHER PROGRAM WHILE IN BANK.
.SKIP 1
.INDENT -5
DESCRIPTION:##BANK MAY BE USED TO TRANSFER CONTROL TO ANOTHER PROGRAM
(INITIATE THE RUN OF A DIFFERENT PROGRAM).  AS THE FOLLOWING PROGRAMS
BECOME AVAILABLE THEY MAY BE RUN DIRECTLY FROM BANK.
.SKIP 1
.NOFILL
.TAB STOPS 10,15
	STP V4
	FREQ
	TAB
	CORL
	REGR
.FILL
.SKIP 1
WHEN A CALL TO ANOTHER PROGRAM IS ISSUED, THE OUTPUT FILE (IF ONE HAS
BEEN CREATED) IS QUEUED TO THE LINEPRINTER, AND THE PROGRAM SPECIFIED IS
EXECUTED.  TO RUN A PROGRAM TYPE A SLASH (/) AND THE PROGRAM NAME IN
RESPONSE TO A QUESTION MARK (?) OR "BANK?".
.SKIP 2
.INDENT -5
EXAMPLES:
.SKIP 1
.NOFILL
BANK?#/STP
.SKIP 2
STATPACK V4
WESTERN MICHIGAN UNIVERSITY
.SKIP 6
? /STP
.SKIP 2
STATPACK V4
WESTERN MICHIGAN UNIVERSITY
.PAGE
.LEFT MARGIN 0
.INDEX USE OF A COMMAND FILE
USE OF A COMMAND FILE
---------------------
.LEFT MARGIN 5
.FILL
.SKIP 2
.INDENT -5
PURPOSE:##ENABLE THE USER TO DIRECT THE PROGRAM TO EXECUTE INSTRUCTIONS
IN AN ASCII DISK FILE.
.SKIP 1
.INDENT -5
DESCRIPTION:##A COMMAND FILE IS AN ASCII DISK FILE CONTAINING ONE OR
MORE INSTRUCTIONS.  THE INSTRUCTIONS HAVE THE SAME FORM AS THOSE ENTERED
ON THE TERMINAL, EXCEPT THE ALTMODE ($), INDICATING THE END OF AN
INSTRUCTION, MUST BE FOLLOWED BY A CARRIAGE RETURN <CR>.  A COMMAND FILE
IS EXECUTED IN BANK BY ENTERING AN AT SIGN (@) AND THE NAME OF THE
COMMAND FILE IN RESPONSE TO THE QUESTION MARK INDICATING THE PROGRAM'S
READINESS TO ACCEPT INSTRUCTIONS. COMMAND FILES MUST BE IN THE SAME AREA
FROM WHICH THE BANK PROGRAM IS BEING RUN.  INSTRUCTIONS IN THE DISK FILE
ARE READ AND EXECUTED UNTIL AN END OF FILE IS ENCOUNTERED, AT WHICH TIME
THE TERMINAL BECOMES THE SOURCE FOR NEW INSTRUCTIONS.  WHILE EXECUTING
A COMMAND FILE, MOST OUTPUT TO THE TERMINAL WILL BE ELIMINATED,
EXCEPTIONS ARE THE "TYPE" COMMAND, "REPLACE" COMMAND, ERROR NOTICES,
AND TRANSFORMATION VERIFICATIONS.  COMMAND FILES MAY BE CREATED USING
TECO, HOWEVER, THE USER MUST BE FAMILIAR WITH THE TECO COMMAND "@I" TO
ENTER ALTMODES IN A FILE. NEITHER A CALL TO A DIFFERENT COMMAND FILE,
NOR A "FOR" OPTION MAY BE USED IN A COMMAND FILE.
.SKIP 2
.INDENT -5
EXAMPLE:
.SKIP 1
?#@BANKPG.DAT
.SKIP 2
?#@BANKCG.CMD
.SKIP 2
?#@BANKS
.PAGE
.INDEX FOR OPTION
.INDENT -5
"FOR" OPTION
.INDENT -5
------------
.SKIP 2
.INDENT -5
PURPOSE:##ALLOW THE USER TO ISSUE A SERIES OF SIMILIAR INSTRUCTIONS
WHERE ONLY A FEW ITEMS DIFFER.
.SKIP 1
.INDENT -5
DESCRIPTION:##THE "FOR" OPTION WORKS IN A LOOP FASHION REPEATING A SET
OF INSTRUCTIONS UNTIL A LIST HAS BEEN EXHAUSTED.  IN THIS RESPECT IT
RESEMBLES BOTH THE "FOR" STATEMENT IN BASIC AND THE "DO LOOP" IN
FORTRAN.  THE CORRECT FORM FOR USING THE FOR OPTION IS THE WORD FOR, THE
INDEX, AN EQUAL SIGN, AND A LIST OF VALUES THE INDEX WILL ASSUME.  ON
THE LINES FOLLOWING THE FOR WILL BE INSTRUCTIONS TO BANK.  EACH
INSTRUCTION CAN ONLY BE ONE LINE LONG, AND SHOULD BE TERMINATED BY A
CARRIAGE RETURN, NOT AN ALTMODE.  FOLLOWING THE SET OF INSTRUCTIONS IS
AN ALTMODE, INDICATING TO BANK TO BEGIN EXECUTION.  THE "FOR" OPTION
OPERATES BY FIRST CREATING A COMMAND FILE NAMED "BNKPG.DAT" AND THEN
AUTOMATICALLY ENTERING IT TO BE EXECUTED.
.SKIP 1
.INDENT 5
THE INDEX OF THE FOR IS A SINGLE DIGIT POSITIVE NUMBER (1-9) ENCLOSED IN
BRACKETS ([]).  THE LIST IS COMPOSED OF UP TO 100 VALUES SEPARATED BY
COMMAS, EACH VALUE BEING ALPHANUMERIC (ENCLOSED IN QUOTES), NUMERIC, OR
JUST A STRING OF CHARACTERS.  VALUES MAY AT MOST BE TEN CHARACTERS LONG
WITH NO EMBEDDED COMMAS (,).  IF THE VALUES ARE INTEGERS AND SEQUENTIAL,
THEN A RANGE MAY BE INDICATED BY TYPING THE EXTREMES OF THE RANGE
SEPARATED BY A MINUS (-).  THE INDEX SPECIFIED IN THE FOR STATEMENT MAY
BE INSERTED THROUGHOUT THE INSTRUCTIONS.  ONE AT A TIME EACH VALUE IN
THE LIST WILL BE SUBSTITUTED IN THE INSTRUCTIONS FOR THE INDEX, AND THE
INSTRUCTIONS WILL BE EXECUTED.  WHEN FINISHED, THE PROGRAM WILL RETURN
WITH A QUESTION MARK INDICATING ITS READINESS TO ACCEPT NEW
INSTRUCTIONS.
.SKIP 1
.INDENT 5
FORS MAY BE NESTED AS WITH FORTRAN OR BASIC, HOWEVER, ALL FORS MUST
APPEAR BEFORE THE FIRST INSTRUCTION, AND EACH FOR WILL REFERENCE ALL THE
INSTRUCTIONS.  SYNTAX CHECKING OF INSTRUCTIONS IS NOT PERFORMED IN THE
"FOR" OPTION.  THE FORM OF THE INSTRUCTIONS WILL BE SCRUTINIZED ONLY
AFTER EXECUTION HAS COMMENCED.  INSTRUCTIONS IN A FOR STATEMENT MAY NOT
CONTAIN CALLS TO COMMAND FILES.
.PAGE
.INDENT -5
EXAMPLES:
.SKIP 1
?#FOR [1]=1,7,12,15
.BREAK
*REPLACE VAR:[1]##SELECT:[1]=99##CONST:MISS
.BREAK
*$
.SKIP 1
[FOR ANY OBSERVATION, IF THE VALUES OF VARIABLES:1,7,12 AND 15 ARE
EQUAL TO 99, THEN REPLACE THAT VALUE BY THE MISSING DATA SYMBOL.  THIS
COMMAND IS TRANSLATED INTO THE FOLLOWING COMMANDS:
.SKIP 1
.NOFILL
.INDENT 5
REPLACE VAR:1####SELECT:1=99####CONST:MISS$
.SKIP 1
.INDENT 5
REPLACE VAR:7####SELECT:7=99####CONST:MISS$
.SKIP 1
.INDENT 5
REPLACE VAR:12###SELECT:12=99###CONST:MISS$
.SKIP 1
.INDENT 5
REPLACE VAR:15###SELECT:15=99###CONST:MISS$
.SKIP 3
?#FOR [2]=TEST1,TEST2,TEST3
*REPLACE VAR:[2]##SELECT:[2]=MISS##CONST:0
*$
.SKIP 1
.FILL
[FOR ALL OBSERVATIONS REPLACE VARIABLES:TEST1, TEST2, AND TEST3 WITH 0
IF THEY CONTAIN THE MISSING DATA SYMBOL.]
.SKIP 3
.NOFILL
?#FOR [3]=1-7,9,12,TEST5
*REPLACE VAR:[3]  SELECT:[3]=99  CONST:MISS
*$
.SKIP 1
.FILL
[FOR ALL OBSERVATIONS, REPLACE VARIABLES:1 THRU 7, 9, 12, AND TEST5 WITH
MISSING DATA SYMBOL IF THEY CONTAIN THE VALUE 99.]
.SKIP 3
.NOFILL
?#FOR [1]=1-6
*OUTPUT VAR:1-7##SELECT:TYPE=[1]##DEV:DSK:OUT[1].DAT FMT:(7F5.2)
*$
.SKIP 1
.FILL
[SEPARATE THE BANK FILE INTO SIX FILES USING THE FORMAT:(7F5.2), THE
FIRST TO BE NAMED OUT1.DAT CONTAINING THE OBSERVATIONS WHERE
VARIABLE:TYPE IS EQUAL TO ONE,THE SECOND TO BE NAMED OUT2.DAT CONTAINING
THOSE OBSERVATIONS WHERE VARIABLE:TYPE IS EQUAL TO 2,..., THE SIXTH AND
FINAL FILE TO BE NAMED OUT6.DAT CONTAINING ALL OBSERVATIONS WHERE
VARIABLE:TYPE IS EQUAL TO 6.  EACH FILE WILL CONTAIN THE ORIGINAL
VARIABLES 1 TO 7.]
.PAGE
?#FOR [1]='MALE','FEMAL'
.BREAK
*STDES SELECT:SEX=[1]
.BREAK
*$
.SKIP 1
[DO STATISTICAL DESCRIPTIONS FOR THOSE OBSERVATIONS WHERE SEX EQUALS
'MALE', AND THEN DO STATISTICAL DESCRIPTIONS FOR THOSE OBSERVATIONS
WHERE SEX EQUALS 'FEMAL'.  THIS COMMAND IS THE SAME AS THE FOLLOWING
COMMANDS:
.SKIP 1
.NOFILL
.INDENT 5
STDES SELECT:SEX='MALE'
.SKIP 1
.INDENT 5
STDES SELECT:SEX='FEMAL'   ]
.SKIP 3
?#FOR [1]=MALE,FEMAL
*FOR [2]=18,19,20
*STDES VAR:PTS##SELECT:SEX='[1]'##SELECT:AGE=[2]
*$
.SKIP 1
.FILL
[DO A STATISTICAL DESCRIPTION ON VARIABLE:PTS FOR ALL OBSERVATIONS
WHERE SEX EQUALS MALE AND AGE EQUALS 18; THEN DO ANOTHER STATISTICAL
DESCRIPTION ON VARIABLE:PTS FOR OBSERVATIONS WHERE SEX EQUALS MALE AND
AGE EQUALS 19, ETC.  IN ALL, SIX STATISTICAL DESCRIPTIONS WILL BE
PERFORMED, NAMELY:##MALE,18; MALE,19; MALE,20; FEMAL,18;  FEMAL,19;
FEMAL,20.]
.PAGE
.LEFT MARGIN 0
.INDEX BANK STRUCTURE
BANK STRUCTURE
.BREAK
--------------
.SKIP 1
.INDENT 5
DATA IS STORED IN BANK FORMAT AS A STRUCTURED BINARY FILE. THE FILE IS
COMPOSED OF THREE MAIN PARTS:##THE HEADER, THE DATA, AND THE DICTIONARY.
THE HEADER RECORD CONTAINS THE NUMBER OF VARIABLES, NUMBER OF
OBSERVATIONS, CREATION DATE OF THE BANK, THE PROJECT-PROGRAMMER NUMBER
OF THE AUTHOR, AND THE VERSION NUMBER.  THE DATA IS STORED BY VARIABLES
WITH 125 PIECES OF DATA IN EACH RECORD. DICTIONARY RECORDS CONTAIN FIXED
LENGTH INFORMATION OF UP TO 6 VARIABLES.  FOR EACH OF THE 6 VARIABLES,
THE NAME, DESCRIPTION, AND VARIABLE TYPE ARE STORED.  RECORDS FOR THE
BANK FILE ARE ALL 125 BINARY WORDS LONG.
.SKIP 2
.NOFILL
.TAB STOPS 4,15,28,32,68
.INDEX PHYSICAL LAYOUT OF BANK
		PHYSICAL LAYOUT OF BANK
               -------- ------ -- ----
.SKIP 3
	*************************   *************************************
	*       HEADER	*______*      HEADER (RECORD LAYOUT)       *
	*************************	*************************************
	*  VAR 1   OBS   1-125  *	* 1  2  3    4-5  6  7  8    9-125  *
	*  VAR 1   OBS 126-250  *	* NV NO NOT  DATE PJ PG VER- FF DEV *
	*  VAR 1   OBS 251-375  *	*       USED            SION	*
  D *	.	*	*	*
  A *	.	*	* NV   - NUMBER OF VARIABLES	*
  T *	.	*	* NO   - NUMBER OF OBSERVATIONS	*
  A *  VAR 1   OBS TO NO	*   * DATE - DATE  (2 WORD QUANTITY)	*
	*  VAR 2	OBS   1-125	*	* PJ   - PROJECT NUMBER OF AUTHOR	*
	*  VAR 2   OBS 126-250	*	* PG   - PROGRAMMER NUMBER OF AUTHOR*
	*	.	*	* VERSION - VERSION OF BANK WHICH	*
	*	.	*	*           CREATED THE FILE	*
	*	.	*	* FF DEV  - FOR FUTURE DEVELOPMENT  *
	*	.	*	*************************************
	*	.	*
	*	.	*
	*  VAR NV  OBS TO NO	*
	*************************   *************************************
  D *VAR VAR VAR VAR VAR VAR*______* DICTIONARY (LAYOUT FOR A VARIABLE)*
  I *  1   2   3   4   5   6*	*************************************
  C *		*	* 1     2-9       10    11-18	*
  T *VAR VAR VAR VAR VAR VAR*   * NAME  DESCRIP-  MODE  FOR FUTURE  *
  I *  7   8   9  10  11  12*	*       TION            DEVELOPMENT	*
  O *	.	*	*	*
  N *	.	*	* MODE  (VARIABLE TYPE)	*
  A *	.	*	*  0 - FLOATING	*
  R *	.	*	*  1 - ALPHANUMERIC	*
  Y *  UP TO VARIABLE NV	*	*  2 - FIXED	*
	*************************	*************************************
.PAGE
.INDEX EXAMPLE 1
.LEFT MARGIN 0
EXAMPLE 1
---------
.LEFT MARGIN 5
.SKIP 3
.INDENT -1
#.R BANK
.SKIP 2
BANK? GOBS
#
CREATING A NEW BANK TO BE NAMED - GOBS.BNK
INPUT? TTY:
#
HOW MANY VARIABLES?  5
#
ENTER FORMAT ENCLOSED IN PARENTHESES
(5F)
.SKIP 2
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
? 1=SEX/0
? 2=AGE/0
? 3=WEIGHT/0
? 4=HEIGHT/0
? 5=GPA/0
?
.SKIP 1
ENTER DATA NOW WHEN FINISHED TYPE A CONTROL Z (_^Z)
1,21,123,60,3.4
1,24,142,48,1.6
1,32,156,49,2.4
2,21,117,52,3.0
2,18,112,50,3.4
2,19,120,54,3.0
1,25,124,52,2.5
2,23,130,52,2.3
1,24,132,58,2.2
1,21
2,23,112,56,2.5
_^Z
.SKIP 5
BANK:  GOBS.BNK     CREATED: 13-SEP-74
HAVING   5 VARIABLES, AND  11 OBSERVATIONS
#
? TYPE
* $
.PAGE
BANK GOBS.BNK
#
CONTAINS  5 VARIABLES AND 11 OBSERVATIONS, CREATED ON 13-SEP-74
PROJECT-PROGRAMMER NUMBER  220,220 IS RESPONSIBLE FOR CONTENT
#
#
.TAB STOPS 13,21,29,56
  VARIABLE
NAME   NUMBER	MODE	DATA DESCRIPTION
SEX	  1	FLOAT	ORIGINAL VARIABLE NUMBER   1 -GOBS.BNK
AGE	  2	FLOAT	ORIGINAL VARIABLE NUMBER   2 -GOBS.BNK
WEIGH	  3	FLOAT	ORIGINAL VARIABLE NUMBER   3 -GOBS.BNK
HEIGH	  4	FLOAT	ORIGINAL VARIABLE NUMBER   4 -GOBS.BNK
GPA	  5	FLOAT	ORIGINAL VARIABLE NUMBER   5 -GOBS.BNK
.SKIP 3
.TAB STOPS 10,16,26,36,46,56
 OBS.		VARIABLES
		 SEX	 AGE	 WEIGH	 HEIGH	 GPA
#
	1	1.000	21.00	123.0	60.00	3.400
#
	2	1.000	24.00	142.0	48.00	1.600
#
	3	1.000	32.00	156.0	49.00	2.400
#
	4	2.000	21.00	117.0	52.00	3.000
#
	5	2.000	18.00	112.0	50.00	3.400
#
	6	2.000	19.00	120.0	54.00	3.000
#
	7	1.000	25.00	124.0	52.00	2.500
#
	8	2.000	23.00	130.0	52.00	2.300
#
	9	1.000	24.00	132.0	58.00	2.200
#
.TAB STOPS 9,16,26,36,46,56
	10	1.000	21.00	MISSING	MISSING	MISSING
#
	11	2.000	23.00	112.0	56.00	2.500
.SKIP 2
? REPLACE VAR:GPA OBS:2$
#
.TAB STOPS 8,11,18,30
#
 OBS	VAR	OLD VALUE	 NEW VALUE
	2	GPA	1.60000	? 2.6
.PAGE
? REPLACE OBS:10$
.SKIP 2
  OBS	VAR	OLD VALUE	NEW VALUE
	10	SEX	   1.000000	? 1
	10	AGE	   21.00000	? 21
	10	WEIGH	MISSING	? 134
	10	HEIGH	MISSING	? 54
	10	GPA	MISSING	? 2.4
.SKIP 2
? TYPE OBS:10
* $
.SKIP 3
.TAB STOPS 9,16,26,36,46,56
OBS.	     VARIABLES
		 SEX	 AGE	 WEIGH	 HEIGH	 GPA
#
	10	1.000	21.000	134.00	54.00	2.400
.SKIP 2
? STDES$
.SKIP 2
? STDES SELECT:SEX=1$
.SKIP 2
? STDES SELECT:SEX=2$
.SKIP 2
? _^Z
.SKIP 3
BANK? _^Z
.SKIP 3
CPU TIME: 9.22  ELAPSED TIME: 9:14.92
NO EXECUTION ERRORS DETECTED
.SKIP 2
EXIT
.SKIP 2
.INDENT -1
#.
.PAGE
.INDEX EXAMPLE 2
.LEFT MARGIN 0
EXAMPLE 2
---------
.LEFT MARGIN 5
#
#
.INDENT -1
#.R BANK
#
#
BANK? QUEST
#
CREATING A NEW BANK TO BE NAME - QUEST.BNK
INPUT? OUT.DAT
#
HOW MANY VARIABLES? 5
#
ENTER FORMAT ENCLOSED IN PARENTHESES
(A1,4A3)
#
#
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
? 1=SEX;SEX OF RESPONDANT/VALID:'1'-'2'
? 2=AGE;AGE OF RESPONDANT/' '
? 3=SCOR1;SCORE ON FIRST TEST/' '
? 4=SCOR2;SCORE ON SECOND TEST/' '
? 5=SCOR3;SCORE ON THIRD TEST/' '
?
.SKIP 3
BANK: QUEST.BNK     CREATED: 6-SEP-74
HAVING   5 VARIABLES, AND   100 OBSERVATIONS
#
? FOR [1]=2-5
* _#[1]=FLOAT(_#[1])
* $
#
VARIABLE: AGE   TRANSFORMED, MODE CHANGED FROM ALPHA TO FLOAT
VARIABLE: SCOR1 TRANSFORMED, MODE CHANGED FROM ALPHA TO FLOAT
VARIABLE: SCOR2 TRANSFORMED, MODE CHANGED FROM ALPHA TO FLOAT
VARIABLE: SCOR3 TRANSFORMED, MODE CHANGED FROM ALPHA TO FLOAT
#
? REPLACE VAR:SEX SELECT:SEX='1' CONST:'MALE'$
#
#
? REPLACE VAR:SEX SELECT:SEX='2' CONST:'FEMAL'$
#
#
? TYPE INFO:$
.PAGE
BANK QUEST.BNK
#
CONTAINS 5 VARIABLES AND 100 OBSERVATIONS, CREATED ON 6-SEP-74
PROJECT-PROGRAMMER NUMBER  220,   220 IS RESPONSIBLE FOR CONTENT
.SKIP 2
.TAB STOPS 15,21,29
  VARIABLE
NAME   NUMBER	MODE	DATA DESCRIPTION
SEX	1	ALPHA	SEX OF RESPONDANT
AGE	2	FLOAT	AGE OF RESPONDANT
SCOR1	3	FLOAT	SCORE ON FIRST TEST
SCOR2	4	FLOAT	SCORE ON SECOND TEST
SCOR3	5	FLOAT	SCORE ON THIRD TEST
.SKIP 2
? TOTAL=SCOR1+SCOR2+SCOR3
* $
#
#
VARIABLE: TOTAL CREATED HAVING A FLOAT MODE
#
? REPLACE ID: VAR:TOTAL$
.SKIP 1
VARIABLE TOTAL? TOTAL;TOTAL OF PREVIOUS SCORES
.SKIP 2
? STDES$
.SKIP 2
? FOR [1]='MALE','FEMAL'
* STDES VAR:2-6 SELECT:SEX=[1]$
.SKIP 2
? _^Z
.SKIP 3
BANK? _^Z
.SKIP 3
CPU TIME: 14.59 ELAPSED TIME: 10:29.45
NO EXECUTION ERRORS DETECTED
#
EXIT

.PAGE
.INDEX EXAMPLE 3
.LEFT MARGIN 0
EXAMPLE#3
---------
.LEFT MARGIN 5
.SKIP 2
.INDENT -1
#.R BANK
.SKIP 2
BANK?#102
.SKIP 2
CREATING A NEW BANK TO BE NAMED - 102.BNK
INPUT?#102.DAT
.SKIP 2
HOW MANY VARIABLES?#2
.SKIP 2
ENTER FORMAT ENCLOSED IN PARENTHESES
(I9,2X,I4)
.SKIP 2
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?#1=SOCSC;SOCIAL SECURITY NUMBER OF STUDENT
?#2=S102;SCORE FOR CLASS 102
?
.SKIP 4
BANK:#102.BNK#####CREATED:#21-AUG-74
HAVING###2 VARIABLES, AND###704 OBSERVATIONS
.SKIP 2
?#_^Z
.SKIP 3
BANK?#106
.SKIP 2
CREATING A NEW BANK TO BE NAMED - 106.BNK
INPUT?#106.DAT
.SKIP 2
HOW MANY VARIABLES?#2
.SKIP 2
ENTER FORMAT ENCLOSED IN PARENTHESES
(I9,I4)
.PAGE
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?#1=SOCSC;SOCIAL SECURITY
?#2=S106;SCORE FOR CLASS 106
?
.SKIP 4
BANK:#106.BNK#####CREATED:#21-AUG-74
HAVING###2 VARIABLES, AND###759 OBSERVATIONS
.SKIP 1
?#_^Z
.SKIP 3
BANK?#355
.SKIP 2
CREATING A NEW BANK TO BE NAMED - 355.BNK
INPUT?#355.DAT
.SKIP 2
HOW MANY VARIABLES?#2
.SKIP 2
ENTER FORMAT ENCLOSED IN PARENTHESES
(2X,I9,I4)
.SKIP 2
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?#1=SOCSC
?#2=S355;SCORE FOR CLASS 355
? $
.SKIP 4
BANK:#355.BNK#####CREATED:#21-AUG-74
HAVING###2 VARIABLES, AND###904 OBSERVATIONS
.SKIP 1
?#_^Z
.SKIP 3
BANK?#506
.SKIP 2
CREATING A NEW BANK TO BE NAMED - 506.BNK
INPUT?#506.DAT
.SKIP 2
HOW MANY VARIABLES?#2
.PAGE
ENTER FORMAT ENCLOSED IN PARENTHESES
(I9,I4)
.SKIP 2
ENTER NAMES, DESCRIPTIONS AND MISSING DATA
?#1=SOCSC
?#2=S506;SCORE FOR 506 CLASS
?
.SKIP 4
BANK:#506.BNK#####CREATED:#21-AUG-74
HAVING###2 VARIABLES, AND###682 OBSERVATIONS
.SKIP 2
?#_^Z
.SKIP 3
BANK?#102
.SKIP 2
?#MERGE BANK:106 MATCH:SOCSC$
.SKIP 2
?#MERGE BANK:355 MATCH:SOCSC$
.SKIP 2
?#MERGE BANK:506 MATCH:SOCSC$
.SKIP 2
?#TYPE INFO:$
.SKIP 4
BANK 102.BNK
.SKIP 2
CONTAINS#5 VARIABLES AND#1000 OBSERVATIONS, CREATED ON 21-AUG-74
PROJECT-PROGRAMMER NUMBER 220,220 IS RESPONSIBLE FOR CONTENT
.SKIP 2
.TAB STOPS 16,22,30
##VARIABLE
NAME####NUMBER###MODE####DATA DESCRIPTION
.NOFILL
SOCSC	1	FIXED	SOCIAL SECURITY NUMBER OF STUDENT
S102	2	FIXED	SCORE FOR CLASS 102
S106	3	FIXED	SCORE FOR CLASS 106
S355	4	FIXED	SCORE FOR CLASS 355
S506	5	FIXED	SCORE FOR 506 CLASS
.PAGE
?#TOTAL=S102+S106+S355+S506$
.SKIP 2
VARIABLE:#TOTAL CREATED HAVING A FLOAT MODE
.SKIP 2
?#REPLACE ID:#VAR:TOTAL$
.SKIP 2
VARIABLE TOTAL? TOTAL;TOTAL SCORE FOR CLASSES:102,106,355,506
.SKIP 2
? TYPE INFO:$
.SKIP 4
BANK 102.BNK
.SKIP 2
CONTAINS 6 VARIABLES AND 1000 OBSERVATIONS, CREATED ON 21-AUG-74
PROJECT-PROGRAMMER NUMBER 220,220 IS RESPONSIBLE FOR CONTENT
.SKIP 2
  VARIABLE
NAME    NUMBER   MODE    DATA DESCRIPTION
SOCSC	1	FIXED	SOCIAL SECURITY NUMBER OF STUDENT
S102	2	FIXED	SCORE FOR CLASS 102
S106	3	FIXED	SCORE FOR CLASS 106
S355	4	FIXED	SCORE FOR CLASS 355
S506	5	FIXED	SCORE FOR 506 CLASS
TOTAL	6	FLOAT	TOTAL SCORE FOR CLASSES:102,106,355,506
.SKIP 2
? OUTPUT VAR:SOCSC,TOTAL SELECT:TOTAL<250 DEV:DSK:LOW.DAT$
.SKIP 2
THE MACHINE SUPPLIED FORMAT IS: (I,G)
.SKIP 2
? OUTPUT VAR:SOCSC,TOTAL SELECT:TOTAL>250 DEV:DSK:HIGH.DAT$
.SKIP 2
THE MACHINE SUPPLIED FORMAT IS: (I,G)
.SKIP 2
? /CORL
.PAGE
OUTPUT?--TTY:
.SKIP 2
INPUT?--102.BNK
.SKIP 2
OPTIONS?
.SKIP 2
WHICH VARIABLES FROM THE BANK?
S102,S106,S355,S506,TOTAL
$
.SKIP 3
PLEASE WAIT, YOUR DATA IS BEING PROCESSED
.SKIP 5
NUMBER OF VARIABLES         =      5
NUMBER OF OBSERVATIONS USED =    295
.SKIP 3
.TAB STOPS 16,27,40,53
VAR-	SAMPLE
IABLE	  SIZE	 M E A N	VARIANCE	STD.  DEV
-----	------	 -------	--------	---------
.SKIP 1
S102	   295	 69.1797	 96.7738	   9.8374
S106	   295	 69.2169	101.7895	  10.0891
S355	   295	 69.7627	112.9979	  10.6300
S506	   295	 70.0407	114.0119	  10.6776
TOTAL	   295	278.2000	459.9152	  21.4456
.SKIP 4
CORRELATIONS
.SKIP 2
.TAB STOPS 11,15,23,33,42,51
		S102	 S106	S355	S506	TOTAL
	...............................................
	.
S102	.	1.00000
S106	.	0.01342	 1.00000
S355	.	0.03076	-0.00037	1.00000
S506	.	0.03435	 0.03689	0.04477	1.00000
TOTAL	.	0.49737	 0.49479	0.53190	0.55320	1.00000
.SKIP 3
INPUT?--/BANK
.SKIP 3
BANK? 102
.SKIP 2
? STDES VAR:TOTAL
* $
.SKIP 3
? _^Z
.SKIP 2
BANK? _^Z
.SKIP 3
CPU TIME: 2.89  ELAPSED TIME: 5:4.12
NO EXECUTION ERRORS DETECTED
.SKIP 1
EXIT
.SKIP 1
_.
.PAGE
.LEFT MARGIN 5
.FILL
.INDEX GLOSSARY
.CENTER
GLOSSARY
.CENTER
--------
.SKIP 1
.INDENT -5
ALPHA--ONE TYPE OF VARIABLE MODE, REQUIRING ONE WORD OF STORAGE
AND STORING UP TO 5 CHARACTERS EITHER NUMBERS, LETTERS, OR SPECIAL
CHARACTERS.
.SKIP 1
.INDENT -5
ALTMODE--ESC OR ALTMODE KEY ON TERMINAL, WILL RESPOND WITH A $.
.SKIP 1
.INDENT -5
ASCENDING--BEGINNING WITH SMALLEST AND PROCEEDING TO THE LARGEST.
.SKIP 1
.INDENT -5
ASCII--AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE.  A 7-BIT
CODE IN WHICH TEXTUAL INFORMATION IS RECORDED.  THE ASCII CODE CAN
REPRESENT 128 DISTINCT CHARACTERS.
.SKIP 1
.INDENT -5
AUTHOR OF THE BANK--PERSON WHO CREATED THE BANK, MORE SPECIFICALLY,
THE PROJECT-PROGRAMMER NUMBER UNDER WHICH THE BANK WAS CREATED.
.SKIP 1
.INDENT -5
BINARY--NUMBERS WHICH ARE REPRESENTED IN BASE 2 NOTATION; WHEN
ASSOCIATED WITH FILE STRUCTURES, THOSE FILES WHICH ARE 
WORD-ORIENTED RATHER THAN ASCII.
.SKIP 1
.INDENT -5
BRACKETS--([]) SHIFT K AND SHIFT M ON THE TELETYPE.
.SKIP 1
.INDENT -5
COMMAND FILE--A DISK FILE CONTAINING ONE OR MORE INSTRUCTIONS
WHICH MAY BE USED IN BANK AS THE SOURCE OF INSTRUCTIONS.
.SKIP 1
.INDENT -5
DATA--ANY OR ALL FACTS, NUMBERS, LETTERS OR SYMBOLS WHICH CAN BE
PROCESSED OR PRODUCED BY A COMPUTER; SOURCE INFORMATION.
.SKIP 1
.INDENT -5
DEFAULT--AN ASSUMPTION MADE WHEN THE USER FAILS TO ENTER A COMPLETE
INSTRUCTION.
.SKIP 1
.INDENT -5
FILE--AN ORDERED COLLECTION  OF CHARACTERS OR WORDS CONTAINING
DATA.
.SKIP 1
.INDENT -5
FIXED--ONE TYPE OF VARIABLE MODE.  REQUIRES ONE WORD OF STORAGE
AND STORED IN BINARY.  MUST BE AN INTEGER VALUE.
.SKIP 1
.INDENT -5
FLOAT--ONE TYPE OF VARIABLE MODE.  NORMALLY REQUIRING ONE WORD OF
STORAGE AND STORED AS A MANTISSA AND EXPONENT SIMILAR TO SCIENTIFIC
NOTATION.
.SKIP 1
.INDENT -5
FORMAT--THE ARRANGEMENT OF INFORMATION ON A FORM OR IN STORAGE.
.SKIP 1
.INDENT -5
I/O DEVICE--ANY EQUIPMENT WHICH INTRODUCES DATA INTO OR EXTRACTS
DATA FROM THE CPU.
.SKIP 1
.INDENT -5
LINEPRINTER QUEUE--A LIST OF FILES WAITING TO BE PRINTED ACCORDING
TO A SCHEDULED LIST OF PRIORITIES.
.SKIP 1
.INDENT -5
MAJOR SORT KEY--THE VARIABLE TO WHICH THE HIGHEST PRIORITY IS
ASSIGNED WHEN ORDERING.
.SKIP 1
.INDENT -5
MERGE--COMBINE TWO OR MORE OBJECTS.
.SKIP 1
.INDENT -5
MINOR SORT KEY--THE VARIABLE TO WHICH THE LEAST PRIORITY IS ASSIGNED
WHEN ORDERING.
.SKIP 1
.INDENT -5
MODE--MANNER IN WHICH A VALUE IS HELD IN MACHINE STORAGE, OR THE TYPE
OF VARIABLE AS WITH FIXED, FLOATING, OR ALPHANUMERIC.
.SKIP 1
.INDENT -5
OBSERVATION--CASE
.SKIP 1
.INDENT -5
QUERY--QUESTION REQUIRING AN ANSWER, OR INDICATION THAT SOMETHING
SHOULD BE ENTERED.
.SKIP 1
.INDENT -5
QUOTE--USED TO MEAN APOSTROPHY (').
.SKIP 1
.INDENT -5
RUN--ELAPSED TIME BETWEEN TYPING OF "R BANK" AND TWO CONSECUTIVE CONTROL
Z (_^Z) OR INITIATING THE EXECUTION OF A DIFFERENT PROGRAM.
.SKIP 1
.INDENT -5
SORT--TO SEQUENCE OR ORDER OBSERVATIONS ACCORDING TO A KEY CONTAINED
IN EACH OBSERVATION.
.SKIP 1
.INDENT -5
SPOOL--TECHNIQUE OF PLACING OUTPUT TO SLOW SPEED DEVICES ON HIGH SPEED
DEVICES TO AWAIT TRANSMISSION TO THE SLOW SPEED DEVICE.  THIS ALLOWS
MORE EFFICIENT USE OF THE RESOURCES.
.SKIP 1
.INDENT -5
SUBSET--SELECT OUT CERTAIN DATA.
.SKIP 1
.INDENT -5
TERMINAL--TELETYPE, CRT TERMINAL.
.SKIP 1
.INDENT -5
TRANSFORMATION--SUBSTITUTION OF ONE CONFIGURATION, OR THE ALTERATION OF
VALUES PERFORMED BY A MATHEMATICAL EXPRESSION.
.SKIP 1
.INDENT -5
VARIABLE--AN ENTITY THAT CAN ASSUME ANY OF A GIVEN SET OF VALUES.
.PAGE
.LEFT MARGIN 32
.NOFILL
INDEX
-----
.LEFT MARGIN 5
.RIGHT MARGIN 115
.PRINT INDEX