Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- showfmt

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
showfmt
Synopsis
/infobank/programs/util/showfmt/showfmt.for
Description
  Program to list standard DRS formats.

       
COMMENTS
  Uses DRS$DOC:DATACODES.TXT (hard coded input) and

  formats input by DICTIONARY subroutine.
    
PROMPTS
  Enter output file name:

    
SUBROUTINES
  openem       (external shareable)

  dictionary   (external shareable)
  stringlen    (external shareable)
    
AUTHOR
  Clint Steele       .for        2/13/85

  changed pmg$doc:datacodes.kep to pmgdoc:datacodes.kep, CDegnan, 3/15/95

    
Reads
              read (89, '(q,a)', iostat=ErrorFlag, end=99) 
     *             Length, ALine(1:Length)
Writes
              write (90, '(a)') ALine(1:Length)
          write (90, '(1x)')
          write (90, '(1x)')
                   write (90, 1) 
     *              (FileType * 10), Description(FileType)(1:Length)
                   write (90, 2) 
     *              (FileType * 10), Description(FileType)(1:Length)
              write (90, '(a)') ComponentName(FileType)(1:Length)
              write (90, '(a)') Mnemonic(FileType)(1:Length)
              write (90, '(a)') Fortran(FileType)(1:Length)
              write (90, '(a)') C(FileType)(1:Length)
              write (90, '(1x)')
Opens
      open (unit = 89,
     *      file = '/infobank/programs/keep/datacodes.keep',
     *      status = 'OLD',
     *      iostat = ErrorFlag)
Calls
      call openem (0,-1)
          call dictionary ( Description, Mnemonic, Fortran, 
     *                      C, ComponentName)
              call stringlen (Description(FileType), Length)
              call stringlen (ComponentName(FileType), Length)
              call stringlen (Mnemonic(FileType), Length)
              call stringlen (Fortran(FileType), Length)
              call stringlen (C(FileType), Length)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/util/showfmt/showfmt.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:05 PDT 2013  (chd)