Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- singlerecord

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
singlerecord
Synopsis
/infobank/programs/dbase/validator/singlerecord.for
Description
  Subroutine to validate that the file is a single record.


       
Reads
      read (TempUnit, '(i8)', end=99) TempInteger
Writes
          write (Message, '(a,a,a)')
     *                InFile(1:InFileLength), ' *** ',
     *                'File must contain a single record'
Opens
      open (unit = TempUnit,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/validator.tmp')
Calls
      call system ('wc '//InFile(1:InFileLength)//
     *                     ' > /infobank/tmp/validator.tm

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