Hi,
here I am having millions of records in DB2. I need to transform them and pass into text files. I want to split the flat files such that each contains 50,000 records. Is there any way to do. If so how can we name the files?
Thanks in advance.
Kavuri
splitting files
Moderators: chulett, rschirm, roy
The file stages can export to a fileset. A big benefit is that the files are created concurrently so exporting 1 million records into 10 files should be a fraction of the time of exporting 1 million records into 1 file.
Check the online documentation for how to do this with the file stages. I think both the sequential file stage and complex file stages can do this. But check the docs to be sure.
Brad.
Check the online documentation for how to do this with the file stages. I think both the sequential file stage and complex file stages can do this. But check the docs to be sure.
Brad.