/ 
/ 
/                   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 #2
/
/ COPYRIGHT DIGITAL EQUIPMENT CORP., MAYNARD, MASS.
/
/			2/25/71		R. MCLEAN
/
/	ENTER -- FORTRAN CALLABLE SUBROUTINE TO GENERATE A FILE
/		 ORIENTED ENTER.
/
/	CALLING SEQUENCE:
/		CALL ENTER (LUN,FN,EXT,IEV)
/		  LUN=LOGICAL UNIT NUMBER
/		  FN=FILE NAME 1-5 CHARACTERS
/		  EXT=EXTENSION
/		  IEV=EVENT VARIABLE
/
	.GLOBL	ENTER,.DAA,.FTSB
ENTER	0
	JMS*	.DAA	/PICK UP CALLER'S ARGUMENTS
	JMP	ARGEND	/SKIP OVER ARGUMENTS
LUN	0
FLNM	0
EXT	0
EVNTV	0
ARGEND	LAC	EVNTV	/PICK UP THE EVENT VARIABLE
	DAC	REQEV	/ADDRESS -- CLEAR TRANSFER
	DZM	EVNTV	/SINCE IT IS OPTIONAL
	LAC*	LUN	/SAVE LUN
	DAC	REQLUN
	JMS*	.FTSB	/CONVERT FILE NA,E TO SIXBT
	FLNM
	REQFLN
	JMS*	.FTSB	/CONVERT EXTENSION
	EXT
	REQEXT
	CAL	ENTCPB
	JMP*	ENTER
ENTCPB	3300		/FUNCTION
REQEV	0		/EVENT VARIABLE
REQLUN	0		/LOGICAL UHIT
REQFLN	0		/FILE NAME
	0
REQEXT	0		/EXTENSION
	0
	.END	ENTER
