MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Break the file into 5 files depending upon a character

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
lal
Beginner


Joined: 21 Oct 2003
Posts: 70
Topics: 25

PostPosted: Sun Aug 08, 2004 1:49 pm    Post subject: Break the file into 5 files depending upon a character Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Aug 09, 2004 5:26 am    Post subject: Reply with quote

Lal,

please search before posting. This topic has been discussed earlier. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2666

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lal
Beginner


Joined: 21 Oct 2003
Posts: 70
Topics: 25

PostPosted: Mon Aug 09, 2004 12:02 pm    Post subject: Reply with quote

Hi Kolusu,
Sorry for not searching before posting and thanx for the reply,

Regards,
Lal
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group