
1 BRUSHELL
 This is an interface to the VAX DECUS program BRUREAD of Adrian Weiler.
 It is designed to load BRU sets created on the 11/73 A/D system onto 
 the VAX. 

 The program mounts MTA0: as the tape device. If study sets are being
 loaded in EMGWORK:[SYSTEMEMG] then the default protection bits are set
 to WORLD:READ,DELETE otherwise the default protection bits are modified
 to include OWNER:DELETE. In either case at process completion time, the 
 original default protection is restored.

 	FORMAT: $BRUSHELL/SELECT=.../DIRECTORY=.../NOMOUNT/NODISMOUNT

2 Command_qualfiers

/DIRECTORY
 /DIRECTORY

 The [sub]directory name may be given with or without the "[" and  "]" 
 punctuation marks.I either case the system determines the remainder of 
 the directory context. 

 The presence of the punctuation mark ":" defines a complete directory 
 definition. In this situation, no directory search is made and will be
 used directly as entered by the user.

 A study set WILL NOT BE LOADED IN EMGWORK:[SYSTEMEMG] (the pool) if it
 currently exists or has been processed in the past. To circumvent this,
 load the study set directly into a user work area.

/SELECT
 /SELECT
 
 A numeric value[list]. A relative number which tells which study set to 
 select from the tape. If the tape contains the following BRU sets then 
 the option /SELECT=(2,5,6) will load study_sets SUB1234.BCK, SUB1237.BCK, 
 and SUB0192.BCK. BRUSHELL defaults to the NEXT Bru set if SELECT is not
 specified.

		SUB1233.BCK	(tape contents)
		SUB1234.BCK
		SUB1235.BCK
		SUB1236.BCK
		SUB1237.BCK
		SUB0192.BCK

 This is a required field. The user will be prompted for the SELECT values
 if the qualifier is not given on the command line.
/NODISMOUNT
 /NODISMOUNT

 Since the DIRECTORY qualifier applies to one account, the BRUSHELL program 
 is allowed to exit without dismounting the tape drive. It is expected to 
 be rerun immediately with a NOMOUNT qualifier. A new SELECT qualifier will 
 refer ot only those study sets yet to be loaded.

 Suppose we need to load SUB1235.BCK into EMGWORK:[HOWARDEMG] and study set
 SUB0192.BCK into EMGWORK:[JOHNEMG] from the tape contents shown below, then
 the BRUSHELL commands would be:
 
	$BRUSHELL/SELECT=2/DIR=EMGWORK:[HOWARDEMG]/NODISMOUNT
	$BRUSHELL/SELECT=3/DIR=EMGWORK:[JOHNEMG]/NOMOUNT

		BRULAB.BCK	(tape contents)
		SUB1234.BCK
		SUB1235.BCK
		SUB1236.BCK
		SUB1237.BCK
		SUB0192.BCK
/NOMOUNT
 /NOMOUNT

 Since the DIRECTORY qualifier applies to one account, the BRUSHELL program 
 is allowed to exit without dismounting the tape drive. It is expected to 
 be rerun immediately with a NOMOUNT qualifier. A new SELECT qualifier will 
 refer ot only those study sets yet to be loaded.

 Suppose we need to load SUB1235.BCK into EMGWORK:[HOWARDEMG] and study set
 SUB0192.BCK into EMGWORK:[JOHNEMG] from the tape contents shown below, then
 the BRUSHELL commands would be:
 
	$BRUSHELL/SELECT=2/DIR=EMGWORK:[HOWARDEMG]/NODISMOUNT
	$BRUSHELL/SELECT=3/DIR=EMGWORK:[JOHNEMG]/NOMOUNT


		SUB1234.BCK (tape contents)
		SUB1235.BCK
		SUB1236.BCK
		SUB1237.BCK
		SUB0192.BCK

2 Examples
	$BRUSHELL/SEL=(1,3,4)                     (select the 1st, 3rd and 4th
                                            study sets FROM THE CURRENT
                                            TAPE POSITION into the current
                                            directory).
	$BRUSHELL/SEL=3/DIR=EMGWORK:[JOHNEMG]
	$BRUSHELL/SEL=(4,5)/DIR=EMGWORK:[JOHNEMG]/NODISMOUNT
	$BRUSHELL/SELECT=1/NOMOUNT/DIR=EMGWORK:[HENRYEMG]
