Expanded Description
| Topic |
Description |
| Name |
areatypes4gaz |
| Synopsis |
/infobank/programs/gaz/gazboothill/areatypes4gaz/areatypes4gaz.for |
| Description |
Program to generate list of gazette areas for each type of data.
|
| NOTES |
Expects results of VALIDTYPES4GAZ to exist.
Typical execution time = instant
|
| AUTHOR |
Clint Steele 7/28/2000
|
| Reads |
read (89, '(q,a)', end = 97)
* EquipTypeLength(EquipTypeCount),
* EquipType(EquipTypeCount)
read (88, '(q,a)', end = 96)
* RelationLength(RelationCount),
* Relation(RelationCount)
read (90, '(q,a)', end = 99)
* InFileLength, InFile(1:InFileLength)
read (92, '(q,a)', end = 98)
* InTypeLength, InType(1:InTypeLength)
|
| Writes |
write (Area, '(4x)')
write (91,
* '(a,t30,i3.3,1x,a4,t40,a,t50,a,t100,a)')
* InType(1:InTypeLength),
* Loop2,
* Relation(Loop2)(Tab(Loop2,2)+1:Tab(Loop2,3)-1),
* InFile(Slash+1:Dot-1),
* Relation(Loop2)
* (Tab(Loop2,4)+1:RelationLength(Loop2)),
* EquipType(Loop1)(30:EquipTypeLength(Loop1))
|
| Opens |
open (unit = 89,
* access = 'sequential',
* form = 'formatted',
* status = 'old',
* name = '/infobank/programs/keep/equiptypepaths.keep')
open (unit = 88,
* access = 'sequential',
* form = 'formatted',
* status = 'old',
* name = '/infobank/programs/keep/insides4gaz.keep')
open (unit = 90,
* access = 'sequential',
* form = 'formatted',
* status = 'old',
* name = '/tmp/areatypes4gaz.temp')
open (unit = 91,
* access = 'sequential',
* form = 'formatted',
* status = 'unknown',
* name = '/tmp/areatypes4gaz.sort.temp')
open (unit = 92,
* access = 'sequential',
* form = 'formatted',
* status = 'old',
* name = InFile(1:InFileLength))
|
| Calls |
call changecase ('SMALLS', Relation(RelationCount))
call system ('/bin/ls -1 '//
* '/infobank/gazette/typelist/*.typelist >
* '/tmp/areatypes4gaz.temp')
call stringlen (Area, AreaLength)
call system ('/bin/sort /tmp/areatypes4gaz.sort.temp >
* '/infobank/programs/keep/areatypes4gaz.keep')
call system ('/bin/rm /tmp/areatypes4gaz.sort.temp')
|
|