Consultor Eletrônico



Kbase P67955: How to use UNIX split utility to break a Progress data file into smaller pieces
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/09/2004
Status: Unverified

GOAL:

How to split ASCII data file that is larger than 2 GB into smaller files

FACT(s) (Environment):

UNIX
Progress 8.2X
Progress 9.1X

FIX:

Use the UNIX split utility. This utility spits a file into pieces. It may used with different switches to break it up as desired.

The utility reads the file and writes it in linecount-line pieces into a set of output-files.

(1) -b n splits file into pieces n bytes in size
(2) -b nk splits file into pieces n*1024 bytes in size
(3) -b nm splits file into pieces n*1048576 bytes in size