Expanded Description
| Topic |
Description |
| Name |
singlerecord |
| Synopsis |
/infobank/programs/dbase/validator/singlerecord.for |
| Description |
Subroutine to validate that the file is a single record.
|
| Reads |
read (TempUnit, '(i8)', end=99) TempInteger
|
| Writes |
write (Message, '(a,a,a)')
* InFile(1:InFileLength), ' *** ',
* 'File must contain a single record'
|
| Opens |
open (unit = TempUnit,
* access = 'sequential',
* form = 'formatted',
* status = 'old',
* name = '/infobank/tmp/validator.tmp')
|
| Calls |
call system ('wc '//InFile(1:InFileLength)//
* ' > /infobank/tmp/validator.tm
|