View previous topic :: View next topic |
Author |
Message |
KM Beginner
Joined: 22 Jul 2004 Posts: 18 Topics: 8
|
Posted: Thu Feb 10, 2005 10:42 am Post subject: 'Cut' dataset in two ? |
|
|
I have a dataset that can have various number of lines in it. How can I split it into two new datasets with half in each ?
Example:
MOTHER.DATASET:
1
2
3
4
5
6
Output should look like this:
CHILD.DATASET1:
1
2
3
CHILD.DATASET2:
4
5
6
Have searched the forum(s) and found nothing really. Any thoughts ?
/KM |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
KM Beginner
Joined: 22 Jul 2004 Posts: 18 Topics: 8
|
Posted: Thu Feb 10, 2005 11:03 am Post subject: SPLIT....Got it ! |
|
|
Thanks and sorry for not looking enough !
/KM |
|
Back to top |
|
 |
Kathi Beginner

Joined: 14 May 2003 Posts: 25 Topics: 0 Location: Mission Viejo, California
|
Posted: Sat Feb 12, 2005 2:09 am Post subject: |
|
|
If the dataset is on a tape, just get a pair of sissors.
A data set on disk would be more difficult.  |
|
Back to top |
|
 |
|
|