Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- numbers2pubs_force

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
numbers2pubs_force
Synopsis
/infobank/programs/dbase/numbers2pubs/numbers2pubs_force.for
Description
  Program to force the ID: information to .pub files from .nums control files.

       
AUTHOR
  Clint Steele    2/11/98


    
Reads
          read (90, '(q,a)', end = 99) NumLength, NumLine(1:NumLength)
              read (91, '(q,a)') IDLength, IDLine(1:IDLength)
                      read (91, '(q,a)', end = 4) IDLength, 
     *                                  IDLine(1:IDLength)
Writes
                  write (92, 2) NumLine(Space+1:NumLength)
                      write (92, '(a)') IDLine(1:IDLength)
Opens
      open (unit = 89,
     *      access = 'sequential',
     *      status = 'unknown',
     *      form = 'formatted',
     *      file = '/infobank/programs/dbase/numbers2pubs/'//
     *              InName(1:Dot)//'conflicts')
              open (unit = 91,
     *              access = 'sequential',
     *              status = 'old',
     *              form = 'formatted',
     *              file = '/infobank/pubs/'//NumLine(1:2)//'/'//
     *                     NumLine(1:Space-1)//'.pub')
                  open (unit = 92,
     *                  access = 'sequential',
     *                  form = 'formatted',
     *                  status = 'unknown',
     *                  file = '/infobank/tmp/numbers2pubs.temp')
Calls
      call yesno ('Y[N]', Ans)
      call openem (1,0)
          call stringlen (NumLine(1:NumLength), NumLength)
                  call system
     *                ('/bin/cp /infobank/tmp/numbers2pubs.temp '//
     *                '/infobank/pubs/'//NumLine(1:2)//'/'//
     *                NumLine(1:Space-1)//'.pub')
                  call system
     *                ('/bin/rm /infobank/tmp/numbers2pubs.temp')

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