[Stackoverflow] [Progress OpenEdge ABL] How can I split a.csv file in Progress4GL if it exceeds 1000000 lines

Status
Not open for further replies.
V

Varun Sulabha

Guest
In my program I am outputting a .csv file which exceeds 1000000 lines. Currently after the file is exported, I am splitting the file from linux using the below commands. However, I would like to know if we can split the files using a progress code. If so, could someone plese let me know on how to do it.

Below is the linux command I use manually.

Code:
ls -l xa*
split -1000000 filename.csv
mv xaa filename-01.csv
mv xab filename-02.csv

Continue reading...
 
Status
Not open for further replies.
Top