/ 
/ 
/                   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 #1
/
/ COPYRIGHT 1972, DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/
/	FORMAT -- FORTRAN CALLABLE SUBROUTINE TO FORMAT A TAPE
/		UNIT
/
/	CALLING SEQUENCE -- CALL FORMAT (LUN,ITYPE[,IEV])
/
/		LUN=LOGICAL UNIT NUMBER
/		ITYPE=TYPE OF FORMAT DESIRED
/		IEV=EVENT VARIABLE
/
/
	.GLOBL	FORMAT,.DA
FORMAT	0
	JMS*	.DA	/GET ARGUMENTS
	JMP	IEV+1
LUN	0
ITYPE	0
IEV	0
	LAC	IEV	/PICK UP THE EVENT VARIABLE
	DZM	IEV	/MAKE IT OPTIONAL
	DAC	EV
	LAC*	LUN	/PICK UP THE LUN
	DAC	ILUN
	LAC*	ITYPE	/PICK UP THE TYPE
	DAC	TYPE	/SAVE IT
	CAL	FMT	/DO A FORMAT
	JMP*	FORMAT	/RETURN
/
FMT	5000
EV	0
ILUN	0
TYPE	0
	.END
