IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Splitting a file into N number of files dynamically.


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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 Developer


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

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

See this thread:

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: 6966
Location: porcelain throne

PostPosted: Sat Jun 27, 2009 12:57 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top