Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- ideveryline

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
ideveryline
Synopsis
/infobank/programs/dbase/validator/ideveryline.for
Description
  Subroutine to verify that an Activity ID starts every record.


       
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'
Opens
      open (unit   = TempUnit,
     *      access = 'sequential',
     *      form   = 'formatted',
     *      status = 'unknown',
     *      name   = InFile(1:InFileLength))
Calls

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