Coastal & Marine Geology InfoBank
breakresults
/infobank/programs/dbase/ob2items/breakresults.for
Subroutine to separate .results list into separate .item file components.
Clint Steele 4/28/03
read (90, '(q,a)', end=99) * InLineLength, InLine(1:InLineLength) read (InLine(35:44), '(i)') Item
write (CharItem, '(i5.5)') Item write (91, '(a)') InLine(1:InLineLength)
open (unit = 90, * access = 'sequential', * form = 'formatted', * status = 'unknown', * name = '/infobank/programs/dbase/ob2items/item.results') open (unit = 91, * access = 'append', * form = 'formatted', * status = 'unknown', * name = '/infobank/programs/dbase/ob2items/accession/'// * CharItem//'.accession')
call system ('/bin/rm '// * '/infobank/programs/dbase/ob2items/accession/*.accession')