USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- ideveryline Skip navigational links
    ________   ________   ______________   ________   _________   _______________   ________  
  tab edge  Home  tab edge  Data  tab edge  Activities  tab edge  FACS  tab edge  Atlas  tab edge  Definitions  tab edge  More  tab edge  
   
InfoBank Programs: by Name   by Data Type   General Tools   GIS   Plotting   Web   USGS Disclaimer   InfoBank Programs   Boothill  
Expanded description of application
Topic Description
Name
ideveryline
Synopsis
/infobank/programs/dbase/validator/ideveryline.for
Description
  Subroutine to verify that an Activity ID starts every record.

    
Opens
 open (unit   = TempUnit,
*      access = 'sequential',
*      form   = 'formatted',
*      status = 'unknown',
*      name   = InFile(1:InFileLength))

    
Reads
     read (TempUnit, '(q,a)', end = 99)
*                ALineLength, ALine(1:ALineLength)
    
Writes
     write (Message, 25) InFile(1:InFileLength),
*                RecordCount,
*                'Activity ID in filename does not '//
*                'match Activity ID in directory name'
          write (Message, 25) InFile(1:InFileLength),
*               RecordCount,
*               'Activity ID at start of record '//
*               'should not be a hyphenated ID'
         write (Message, 25) InFile(1:InFileLength),
*             RecordCount,
*             'Activity ID at start of record '//
*             'must be capitalized version of the Activity ID'
           write (Message, 25) InFile(1:InFileLength),
*               RecordCount,
*               'every record must be at least '//
*               '10 characters long'
               write (Message, 25) InFile(1:InFileLength),
*                     RecordCount,
*                     'Column 10 can not be a blank'
              write (Message, 25) InFile(1:InFileLength),
*                  RecordCount,
*                  'for 6 character Acivity IDs, '//
*                  'columns 7 and 9 must always be blank'
             write (Message, 25) InFile(1:InFileLength),
*                   RecordCount,
*                   'for 7 character Acivity IDs, '//
*                   'columns 8 and 9 must always be blank'
    

Skip footer navigational links

InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program  
U. S. Department of the Interior   U. S. Geological Survey   Geologic Information   Ask-A-Geologist   USGS privacy statement   Disclaimer  

URL:
Maintainer: Clint Steele
Comments: e-mail
Last modified: Wed Jan 29 13:12:49 PST 2003  (wcs)