Home > Data Services > Catalog . Restricted Data . Census . ACS

Search Data Services

Meta Search
search across all the following databases:

Data Catalog
Data and documentation

KnowledgeBase
Common questions and answers.

Resources
Entire collection of data resources.


Latest Data News

RSS Feed icon

Breaking News: Protect the 2020 Census

The Fastest Growing US Cities Are Mostly In the West

Another rule from NIH: Demographers might get to ignore this one

Research on Health Disparities: Incarceration Matters

Changing Race From One Census to the Next

divide

Purpose: This program takes a data set as input and divides it into a maximum of 99 subfiles. Its main purpose is to allow one to write out a large data set from UNIX to a multi-volume external device.

To run, enter: divide a b c d

where

For example, to divide up the 1990 STF3C data into four subfiles enter:

divide 3c_dat 5000 19900 16200

The result will be a file 3c_dat.01 of 5000 records, file 3c_dat.02 of 5000 records, file 3c_dat.03 of 5000 records, and file 3c_dat.04 of 1200 records.

Notes:

  1. To run in the background, add an ampersand to the run statement:

    divide 3c_dat 5000 19900 16200 &

  2. If data are compressed, the data can be piped in from a decompression program. You will need to use the dividecomp version of the utility to do this.

    zcat /usr/pops/d3/stf/1990/3c/3c_dat.Z | dividecomp 5000 19900 16200 &