MODE Subcommand (FILE HANDLE command)
MODE specifies
the type of file you want to refer to by the file handle.
CHARACTER. Character file whose logical records are delimited by ASCII line feeds.
BINARY. Unformatted binary file generated by Microsoft FORTRAN.
MULTIPUNCH. Column binary file.
IMAGE. Binary file consisting of fixed-length records.
360. EBCDIC data file.
Example
FILE HANDLE ELE48 /NAME='/data/ELE48.DAT' /MODE=MULTIPUNCH.
DATA LIST FILE=ELE48.
-
FILE HANDLEdefines ELE48 as the handle for the file. - The
MODEsubcommand indicates that the file contains multipunch data. - The file specification on
NAMEconforms to VMS convention: the file ELE48.DAT is located in the directory data. - The
FILEsubcommand onDATA LISTrefers to the handle defined on theFILE HANDLEcommand.