View previous topic :: View next topic |
Author |
Message |
lal Beginner
Joined: 21 Oct 2003 Posts: 70 Topics: 25
|
Posted: Sun Aug 08, 2004 1:49 pm Post subject: Break the file into 5 files depending upon a character |
|
|
Hi All,
I have a sequential file (LRECL = 80 and its a FB) with list of addresses and each address is separated by '###' . There are around 5000 addresses. So after every 1000 '###'s I have to load that in a different files like first 1000 address in FILE1 and next 1000 in FILE2 and so on upto FILE5. I can do this by a cobol program. But I want to do this by a JCL using some utility may by Syncsort or DFsort or FILEAID batch. Please let me know if there is some way of doing this. Thanx in advance..
Regards,
Lal |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
lal Beginner
Joined: 21 Oct 2003 Posts: 70 Topics: 25
|
Posted: Mon Aug 09, 2004 12:02 pm Post subject: |
|
|
Hi Kolusu,
Sorry for not searching before posting and thanx for the reply,
Regards,
Lal |
|
Back to top |
|
|
|
|