The FILEDEF command allows you to specify filename information for use by FORTRAN programs at the MCR level. This means that it allows you to write programs that do not require OPEN statements or code to prompt you for the name of files to be used by the program. The FILEDEF command (which may be abbreviated to FIL) is used to specify input or output file specifications before you run your program. It may also be used to delete one or all of your assignments, or to provide a list of them. Once specified, the information remains in effect for the duration of the terminal session or batch job, unless you explicitly change it. Type HELP FILEDEF ASSIGN Specifying assignments HELP FILEDEF DELETE Deleting assignments HELP FILEDEF LIST Listing assignments 2 ASSIGN The general form of this mode of the FILEDEF command is: FILEDEF unit filespec where 1. "unit" is the logical unit number that will be used to read from or write to the file. This should be an integer in the range 1 to 20. 2. "filespec" is the file specification of the file to be used for input and/or output. The two parameters may be separated from each other and from the command name by one or more spaces or tabs. 2 DELETE The FILEDEF command in the form FILEDEF unit (no file specification) causes the current assignment (if one exists) to be deleted. The usual FORTRAN defaults then apply. If "unit" is zero (not a normally valid logical unit number), then all current assignments for that terminal are deleted. This is done for you by the system when you log off, or a batch job terminates. 2 LIST The FILEDEF command with no parameters, that is, FILEDEF produces a listing of your current assignments. The listing may be cancelled by typing CTRL/O if desired.