Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
calculate the record count and based on that split the file

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

New User


Joined: 04 Oct 2005
Posts: 34

PostPosted: Tue Jan 08, 2019 11:20 pm    Post subject: calculate the record count and based on that split the file
Reply with quote

Calculate the number of records in a file by using sort and based on the count split the files dynamically. each file contain 2000 records

eg: if the file contain 10,000 records. based on that count file will be split into 5 files.

Note: record count is not fixed. it is always dynamic.
Back to top
View user's profile Send private message

dneufarth

Active User


Joined: 27 Apr 2005
Posts: 303
Location: Cincinnati OH USA

PostPosted: Tue Jan 08, 2019 11:41 pm    Post subject:
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=26644&highlight=dynamic+output+record+count


simple forum search
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 SFTP to a Unix Pipe file yuvan All Other Mainframe Topics 3 Tue Jan 28, 2020 9:04 pm
No new posts How to split a file in 2 with hierarchy Dr_Halo SYNCSORT 12 Tue Jan 14, 2020 9:15 pm
This topic is locked: you cannot edit posts or make replies. VSE COBOL - File Status 46 when readi... dennis larson COBOL Programming 8 Fri Jan 03, 2020 11:46 pm
No new posts SMF Record layout upendrasri DFSORT/ICETOOL 10 Mon Dec 16, 2019 11:31 am
No new posts File transfer issue with end of line ... VINAY PALLELA TSO/ISPF 4 Thu Nov 14, 2019 12:01 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us