SPLIT

From ICE Enterprises
Jump to navigation Jump to search

Splits apart a type-3000/5000 file into type-1000 files

<IN>    Input type 3000 file
<ROOT>  Root file name for outputs

This primitive produces one type-1000 or type-2000 file for each subrecord in
the input type-3000 file.  The file names are composed of the root,
concatenated with the subrecord names.

The output type depends on the length of each subrecord, those with a single
element become type-1000 files, the others are type-2000. There is no way to
extract a type-3000 file, but one can be re-combined from these results with the
GROUP command.

Switches: NONE

See Also: GROUP, FILE COPY/L