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 HANDLE defines ELE48 as the handle for the file.
  • The MODE subcommand indicates that the file contains multipunch data.
  • The file specification on NAME conforms to VMS convention: the file ELE48.DAT is located in the directory data.
  • The FILE subcommand on DATA LIST refers to the handle defined on the FILE HANDLE command.