I have file with multiple detail records and i want split the file for particular count.
ex: if file has 10 recs, i want to split them in to five files each file should hgave 2 recs. if file has 20 recs then it should split to 10 files.
split file for set of records
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
And you want to perform this split with a TX map? Surely it would be easier using a UNIX command such as split or awk - search the forum for examples.
And you want to perform this split with a TX map? Surely it would be easier using a UNIX command such as split or awk - search the forum for examples.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: