FOR xx=1 TO nfilecount >>STORE attach(xx) TO flo >>lnLastRecord = reccount() >>append from (flo) TYPE delimited WITH CHARACTER "," >>go lnLastRecord >>replace rest yourFilenameField with flo >>next>
>go lnLastRecord+1 >Actually as the csv files have header records it is go lnlastrecord+2