Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- newitem

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
newitem
Synopsis
/infobank/programs/util/newitem/newitem.for
Description
  Program to create a new Item file and Information Bank structure.

       
AUTHOR
  Clint Steele    7/3/97


    
Reads
      read (90, '(i)') LastItem
Writes
      write (SearchFile, '(80x)')
      write (SearchFile, 200) LastItem/100, LastItem
      write (ItemFile, '(80x)')
      write (ItemFile, 201) LastItem/100, LastItem
      write (95, 400) LastItem
          write (95, 401)
          write (95, 402)
          write (95, 403)
          write (95, 404)
          write (95, 405)
          write (95, 406)
          write (95, 407)
          write (95, 408)
          write (95, 409)
          write (95, 410)
          write (95, 411)
          write (95, 412)
      write (95, 413)
      write (90, '(i)') LastItem
Opens
      open (unit = 90,
     *      name = '/infobank/items/itemcount.keep',
     *      form = 'formatted',
     *      access = 'sequential',
     *      status = 'unknown')
      open (unit = 95,
     *      file = ItemFile(1:ItemFileLength),
     *      access = 'sequential',
     *      status = 'new',
     *      form   = 'formatted')
      open (unit = 90,
     *      name = '/infobank/items/itemcount.keep',
     *      form = 'formatted',
     *      access = 'sequential',
     *      status = 'new')
Calls
      call stringlen (SearchFile, SearchLength)
      call stringlen (ItemFile, ItemFileLength)
      call yesno ('[A]BCDEFGHIJKL', Answer)
      call yesno ('Y[N]', Response)

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