SPLIT
Extracts subrecords/components from type 3000/5000/6000 files.
SPLIT - extracts subrecords/components from type 3000/5000/6000 files
<in> Input file name
<out> Output file name
<name 1:N> List of subrecord/component names to extract
Selectively extracts data from the type 3000/5000/6000 <in> file to
a Type 3000/5000/6000 <out> file. The data to be extracted from the
input is specified by the subrecord/component names (i.e. TR01, TIME,
POS, VEL, ACC, etc.) given on the command line. The subrecords/components
are positioned in the output records in the order found on the command line.
If <out> is not specified, it defaults to <in> with an underscore
appended to the end.
The /APART switch will cause each subrecord that is split off to be
written to a separate file. The files are type 1000/2000 files.
The file name for each of the outputs is derived by appending the
record name to the output file name given in <out>. For example:
SPLIT/APART SV SV_ POS VEL
will generate two output files SV_POS and SV_VEL each containing one component.
SPLIT SV SV_PV POS VEL
will generate one output file SV_PV containing two components.
To extract all of the subrecords within a file into their own separate files,
leave the subrecord list blank. The /APART switch will default to TRUE and
can be ommitted.
SPLIT SV SV_
will generate an output file for each subrecord within the SV file, each new
file will contain one component. The new file names will be 'SV_' followed by
the subrecord name.
Switches:
/APART - split off each subrecord to a separate file
See Also: GROUP, FILE COPY/L