• The STATUS Command:
    • The STATUS command is used to show details about a file
    • For Midas (Blue) files, STATUS shows information in the Blue header.
      nM> status apenny.prm
      DataFile (BLUE)    :  file:/home/burdell/nxm230/nxm/sys/dat/apenny.prm
      Data Rep (H/D)     :  EEEI / EEEI
      Number of Elements :  128.0
      File Type          :  2000
      Data Format        :  SB - Scalar Byte
      Write Protect      :  false
      Abscissa units     :  No applicable units (U)
      Abscissa start     :  0.0
      Abscissa delta     :  1.0
      Frame Length       :  128
      Secondary units    :  No applicable units (U)
      Secondary start    :  0.0
      Secondary delta    :  1.0
    • For other file types, STATUS shows generally useful information like:
      • The number of bytes in the file (XML or TXT files)
      • That particular file type's header information (JPEG or SHP)
      • In general, any file type whose file handler subclasses BaseFile and can be STATUSed.
        • Isn't Java great?
      nM> status airports.csv{headerrows=1}
      CsvFile   : file:/home/burdell/nxm230/nxm/sys/dat/airports.csv
      Rows      : 726
      Columns   : 4
      Header    : First Row
      Column Name=AIRPORT_NAME    Format=??
      Column Name=CODE            Format=??
      Column Name=LATITUDE        Format=??
      Column Name=LONGITUDE       Format=??
    • The /KEY or /K switch can be used to show the Midas keywords.
    • The /DATA= or /D=<num_elements> switch can be used to show the data in the file (by running DATALIST).