Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Splitting a file into N number of files dynamically.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Sat Jun 27, 2009 12:21 am    Post subject: Splitting a file into N number of files dynamically.
Reply with quote

Hi,

We have a recuirement wherein we have to split a huge file (eg: may be greater than 2 million records) into N number of files (where N is not known) each containing 20 thousand records. Since I am not sure on the size of the bigger file, I cannot specify the DD name for each of the output files. So Is there any way that I can split the files dynamically?.

Thanks,
Amsar
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Jun 27, 2009 12:56 am    Post subject:
Reply with quote

See this thread:

http://ibmmainframes.com/viewtopic.php?t=35814&highlight=split+dynamically
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Sat Jun 27, 2009 12:57 am    Post subject:
Reply with quote

56 posts and you still have not learned to search.

there have been many, many, many threads on this subject.
in fact many of the thread titles are exactly the same as yours,
so no excuses about the usual crap thread subjects being unhelpful.

have been a couple in the last month (last couple of weeks),
so the search should not take to long.
In fact, just open up the DFSORT/ICETOOL forum and scroll down.

y'got all weekend.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us