/ 
/ 
/                   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
/
/	SEEK -- FORTRAN CALLABLE SUBROUTINE TO GENERATE A FILE
/	ORIENTED SEEK.
/
/	CALLING SEQUENCE:
/		CALL SEEK (LUN,FN,EXT,IEV)
/		  LUN=LOGICAL UNIT NUMBER
/		  FN=FILE NAME 1-5 CHARACTERS
/		  EXT=EXTENSION
/		  IEV=EVENT VARIABLE
/
	.GLOBL	SEEK,.DAA,.FTSB
SEEK	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 FILENAME TO SIXBT
	FLNM
	REQFLN
	JMS*	.FTSB
	EXT
	REQEXT
	CAL	SEEKCP
	JMP*	SEEK
SEEKCP	3200		/FUNCTION
REQEV	0		/EVENT VARIABLE
REQLUN	0		/LOGICAL UNIT
REQFLN	0		/FILE NAME
	0
REQEXT	0		/EXTENSION
	0
	.END	SEEK
