Consultor Eletrônico



Kbase 21229: How to Export Data to an ASCII File Larger Than 2GB
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/10/2003
Status: Unverified

GOAL:

How to export data to an ASCII file larger than 2GB.

FIX:

The commonly used command, 'OUTPUT STREAM <stream_name> to <file_name>', will generate files with a maximum size of 2GB. There is a way to work around this limitation by redirecting the output to an operating system command.

As an example, the solution for UNIX might look like this:

'OUTPUT STREAM <stream_name> THROUGH VALUE ("dd > /tmp/export_file.out 2>/dev
ull")'