Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- protections

Skip navigational links
Google
Search InfoBank Search WWW

InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
protections
Synopsis
/infobank/programs/dbase/protections/protections.for
Description
  Program to check Information Bank for appropriate protections

  and ownerships.
       
AUTHOR
  Clint Steele    8/7/96

  Michael Hamer   6/29/98
        checked to lower levels of infobank
  Sumy Tom        9/14/10
    modified, such that the list of owners are read from 
    /infobank/programs/dbase/protections/owners.list
    if you want to add an owner then add him/or her to the
    end of owners.list

    
Reads
          read (89, '(q,a)', end = 88) ProgramLength(ProgramCount),
     *         Programs(ProgramCount)
          read (91, '(q,a)', end = 1)
     *          OwnerNL, OwnerName
          read (90, '(q,a)', end = 99) Length, ALine(1:Length)
              read (91, '(q,a)', end = 98)
     *          OwnerNL, OwnerName
Writes
                      write (OutUnit, 30) 
     *                     LastDir(1:LastDirLength-1),
     *                     ALine(Space+1:Length-1)
                                write (OutUnit, 36)
     *                          LastDir(1:LastDirLength-1),
     *                          ALine(Space+1:Length)
                                 write (OutUnit, 31) 
     *                           LastDir(1:LastDirLength-1),
     *                           ALine(Space+1:Length)
                          write (OutUnit, 33) 
     *                         LastDir(1:LastDirLength-1),
     *                         ALine(Space+1:Length)
                  write (OutUnit, 35) 
     *                 LastDir(1:LastDirLength-1),
     *                 ALine(Space+1:Length)
Opens
      open (unit = 89,
     *      access = 'sequential',
     *      status = 'old',
     *      form = 'formatted',
     *      file = '/infobank/programs/keep/programs.keep')
      open (unit = 90,
     *      access = 'sequential',
     *      status = 'old',
     *      form = 'formatted',
     *      file = '/infobank/programs/dbase/protections/temp.list')
       open (unit = 91,
     *       access = 'sequential',
     *       status = 'old',
     *       form = 'formatted',
     *       file = '/infobank/programs/dbase/protections/owners.list')
          open (unit = UnitCount(OwnerListLength,1),
     *          access = 'sequential',
     *          status = 'unknown',
     *          form = 'formatted',
     *          file = '/infobank/programs/dbase/protections/'//
     *                 OwnerName(1:OwnerNL)//'.list')
Calls
      call system 
     *   ('/bin/ls -lFR /infobank/* | grep -v lost+found '//
     *    '> /infobank/programs/dbase/protections/temp.lis
          call stringlen(OwnerName, OwnerNL)
              call stringlen (Owner, OwnerLength)
                     call stringlen (Owner, OwnerLength)
              call stringlen(OwnerName, OwnerNL)

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/protections/protections.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Tue Nov 2 03:03:54 PDT 2010  (wcs)