/ 
/ 
/                   FIRST PRINTING, FEBRUARY 1974
/ 
/ THE INFORMATION IN THIS DOCUMENT IS SUBJECT TO 
/ CHANGE WITHOUT NOTICE AND SHOULD NOT BE CONSTRUED
/ AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPON-
/ SIBILITY FOR ANY ERRORS THAT MAY APPEAR IN THIS
/ DOCUMENT.
/ 
/ THE SOFTWARE DESCRIBED IN THIS DOCUMENT IS FUR-
/ NISHED TO THE PURCHASER UNDER A LICENSE FOR USE ON
/ A SINGLE COMPUTER SYSTEM AND CAN BE COPIED (WITH
/ INCLUSION OF DIGITAL'S COPYRIGHT NOTICE) ONLY FOR 
/ USE IN SUCH SYSTEM, EXCEPT AS MAY OTHERWISE BE PRO-
/ VIDED IN WRITING BY DIGITAL.
/ 
/ DIGITAL EQUIPMENT CORPORATION ASSUMES NO RESPONSIBILITY
/ FOR THE USE OR RELIABILITY OF ITS SOFTWARE ON EQUIP-
/ MENT THAT IS NOT SUPPLIED BY DIGITAL.
/ 
/ COPYRIGHT (C) 1974, BY DIGITAL EQUIPMENT CORPORATION
/ 
/ 
        .EJECT
/ EDIT #4
/
/ COPYRIGHT 1971,1972,1973,1974 DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/ DTCLOS                8 JAN 74              H. KREJCI
/						M. HEBENSTREIT
/
/ RSX CHECKOUT PACKAGE 
/
/ SUBROUTINE TO CLOSE THE FILE ON LUN 37
/
	.GLOBL	DTCLOS,LOG
/
DTCLOS	0
	CAL	CLOSE	/QUEUE CLOSE REQUEST FOR LUN 37
	CAL	WAITF
	LAC	EV	/OKAY?
	SMA
	JMP*	DTCLOS	/YES -- RETURN
	JMS*	LOG	/NO -- LOG OFF
	.ASCII	"DT CLOSE ERROR _______________________________"<15>
	CAL	(10)	/EXIT TASK
/
CLOSE	3400		/CLOSE CPB
	EV
	37
/
WAITF	20		/WAITFOR CPB
	EV
/
ERR	2700		/WRITE CPB
	EV
	3
	2
	MESS
/
EV	0
/
MESS	2; 0; .ASCII "***** DT CLOSE ERROR"<15>
/
	.END
