Swapfd error
Lerebours, Jose
Jose.Lerebours at EagleGL.com
Thu May 11 12:41:46 PDT 2006
Nancy suggested:
[ snip ]
>
> I might suggest that a CLOSE command be issued at a point in the
> processing that is logical to the end of one routine and the
> beginning
> of the next. If this slows stuff down too much, you could
> run a counter
> and every 100 passes issue the CLOSE and reset the counter.
>
Why run the process from within the same file at all?
Try running process from a point of refererence file and
instead of using a fixed record number, add a new record
to point of reference file and from here, add all the
records you need to your target file.
Once all is done, delete the record you were sitting on
and exit process.
I figure this can be nicely done using *clerk instead of
*report.
Be careful with using 'close' too many times ... I've found
it to cause the now non-existing "Segmentation Violation"
Regards;
Jose Lerebours
More information about the Filepro-list
mailing list