header records on an export file

Brian K. White brian at aljex.com
Tue Sep 21 13:19:43 PDT 2004


Rick Mitchell wrote:
> I have modified my system:
>
> It does the count, get's the filename and opens the export record
> header subroutine
>
> export day1=(fd) R=^j f=\,
>
> day(1)="IA", etc.
>
> Close day1
>
> Then as it processes calls another subroutine
>
> export day=(fd) r=^j f:\, -a
> return
>
> then the export works
>
> day(1)="IL";day(2)="FEBCO"
> day(3)=2; day(3)=4; day(5)=5
>
> etc.
>
> When I close both records after writing, i get failures and it dumps
> out of processing after trying to write the first data record.
>
> if i close only the header i get error on first data record.  I press
> F ad it goes on and writes the file correctly.   Maybe i need a delay
> before reopening the file for append?

yes, definitely close the header
and only the header and don't attempt to start the other alias for data 
until after the close

but the crucial detail here...
what's the error ?????

maybe it needs a sync or something but it really shouldn't

Brian K. White  --  brian at aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani



More information about the Filepro-list mailing list