Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- holdingsheaders

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
holdingsheaders
Synopsis
/infobank/programs/dbase/holdingsheaders/holdingsheaders.for
Description
  Program to produce a table of the header records for

  holdings databases.
       
AUTHOR
  Clint Steele    11/10/05

  made unit references variables - CDegnan, 04/26/2013

    
Reads
          read (HoldngsListKeep, '(q,a)', end = 98)
     *        InFileLength, InFile(1:InFileLength)
          read (HoldngsTxtFile, '(q,a)')
     *        ALineLength, ALine(1:ALineLength)
          read (HoldngsListKeep, '(q,a)', end = 99)
     *        InFileLength, InFile(1:InFileLength)
          read (HoldngsTxtFile, '(q,a)')
     *        ALineLength, ALine(1:ALineLength)          
Writes
      write (HoldngsHeadrsKeep, '(a)')
     *    '<table border="5" bgcolor="#ccffff
      write (HoldngsHeadrsKeep, '(2x,a)') '<t
      write (HoldngsHeadrsKeep, '(4x,a)') '<td>database
               write (HoldngsHeadrsKeep, '(4x,a)')
     *             '<td align="center">
     *             Alphabet(Tab:Tab)//'</b>
               write (HoldngsHeadrsKeep, '(4x,a)')
     *             '<td align="center">
     *             Alphabet(SuperTab:SuperTab)//
     *             Alphabet(Tab:Tab)//'</b>
               write (HoldngsHeadrsKeep, '(4x,a)')
     *             '<td align="center">
     *             Alphabet(SuperTab:SuperTab)//
     *             Alphabet(Tab:Tab)//'</b>
      write (HoldngsHeadrsKeep, '(2x,a)') '</t
          write (ALine, '(2048x)')
          write (HoldngsHeadrsKeep, '(2x,a)') '<t
          write (HoldngsHeadrsKeep, '(4x,a)') '<td><a href="h
     *        'walrus.wr.usgs.gov'//InFile(1:InFileLength)//
     *        '"><b>'//InFile(Slash+1:Dot-1)//'</
              write (HoldngsHeadrsKeep, '(4x,a)') '<td&
     *            ALine(Tabs(Loop)+1:Tabs(Loop+1)-1)//'</t
          write (HoldngsHeadrsKeep, '(2x,a)') '</t
Opens
      open (unit = HoldngsListKeep,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/programs/keep/holdings_list.keep')
      open (unit = HoldngsHeadrsKeep,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/keep/holdings_headers.keep')
          open (unit = HoldngsTxtFile,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'old',
     *          name = InFile(1:InFileLength))
          open (unit = HoldngsTxtFile,
     *          access = 'sequential',
     *          form = 'formatted',
     *          status = 'old',
     *          name = InFile(1:InFileLength))
Calls
      call system ('/bin/ls -1 '//
     *    '/infobank/holdings/*.txt | '//
     *    'grep -v unknown_locations.txt > 
     *    '/infobank/programs/keep/holdings_list.keep')
          call stringlen (ALine(1:ALineLength), ALineLength)

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