USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- numbers2pubs_force Skip navigational links
    ________   ________   ______________   ________   _________   _______________   ________  
  tab edge  Home  tab edge  Data  tab edge  Activities  tab edge  FACS  tab edge  Atlas  tab edge  Definitions  tab edge  More  tab edge  
   
InfoBank Programs: by Name   by Data Type   General Tools   GIS   Plotting   Web   USGS Disclaimer   InfoBank Programs   Boothill  
Expanded description of application
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


    
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 = '/tmp/numbers2pubs.temp')

    
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)
    
Calls
 call yesno ('Y[N]', Ans)
 call openem (1,0)
     call stringlen (NumLine(1:NumLength), NumLength)
             call system ('/bin/cp /tmp/numbers2pubs.temp '//
*                         '/infobank/pubs/'//NumLine(1:2)//'/'//
*                         NumLine(1:Space-1)//'.pub')
             call system ('/bin/rm /tmp/numbers2pubs.temp')
    

Skip footer navigational links

InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program  
U. S. Department of the Interior   U. S. Geological Survey   Geologic Information   Ask-A-Geologist   USGS privacy statement   Disclaimer  

URL:
Maintainer: Clint Steele
Comments: e-mail
Last modified: Wed Jan 29 13:11:45 PST 2003  (wcs)