Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- existance

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
existance
Synopsis
/infobank/programs/dbase/existance/existance.for
Description
  Program to determine the existance or not of a file type

  within a <ID> stru
       
AUTHOR
  Clint Steele    2/19/98


    
Reads
      read (5, '(q,a)', end = 99) SearchLength, 
     *      SearchName(1:SearchLength)
          read (89, '(q,a)', end = 99) PathLength,
     *              PathName(1:PathLength)
Writes
      write (90, 2) SearchName(1:SearchLength)
      write (91, 3) SearchName(1:SearchLength)
              write (LongID, 10) PathName(Slash+1:Slash+1),
     *                           PathName(Slash+2:Slash+2),
     *                           PathName(Slash+3:Slash+4),
     *                           PathName(Slash+5:Slash+6)
              write (LongID, 10) PathName(Slash+1:Slash+1),
     *                           PathName(Slash+2:Slash+3),
     *                           PathName(Slash+4:Slash+5),
     *                           PathName(Slash+6:Slash+7)
              write (90, '(a)') PathName(Slash+1:PathLength-1)
              write (91, '(a)') PathName(Slash+1:PathLength-1)
Opens
      open (unit   = 89,
     *      file   = '/infobank/tmp/existance.temp',
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'old')
Calls
      call openem (0,-2)
      call system ('ls -1dF  /infobank/?/*'//
     *             '  > /infobank/tmp/existance.tem

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/dbase/existance/existance.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:44 PDT 2013  (chd)