Opened 15 years ago
Last modified 15 years ago
#961 closed defect
DBTFile não funciona — at Initial Version
Reported by: | efujimoto | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | highest | Milestone: | Mantainance |
Component: | ASCII data files | Version: | |
Severity: | blocker | Keywords: | |
Cc: |
Description
Estou com o seguinte problema, tento gravar um Set de 700.000 linhas (um exemplo pode ser gerado pelo código abaixo):
Set segmentos = [["co_cliente";"id_cluster";"dt_inicio";"dt_fim"? ]]<<
For(1, 700000, Set(Real x){
})
Se eu tento gravar usando BDTFile, um set com a mesma quantidade de linhas me é retornado, mas nenhum arquivo é gravado.
Se eu tento com o código abaixo, após um tempo o tol cai.
Text tempFile = "C:/TempFileCluster.txt";
Text WriteFile(tempFile, "co_cliente;id_cluster;dt_inicio;dt_fim"+NL);
Set EvalSet (Segmentos.T, Text (Set line){
AppendFile(tempFile, TxtListItem(line, ";")+NL)
});