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
 

 

Trying to split a report using Icetool/SORT

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

New User


Joined: 30 Jun 2007
Posts: 19
Location: United States

PostPosted: Thu Dec 16, 2010 10:10 am    Post subject: Trying to split a report using Icetool/SORT
Reply with quote

Hi all,

Hope you can help me...I have a qmf generated report that I want to spplit into several files wherein each file should have a specific report for a specific seat number (below is a mockup of the report).

The input will be one file containing all reports for all seat numbers. In the example input file the number of seat numbers is 2 thus there are 2 reports, 1 for each seat number.

The output should contain a report for a specific seat number. Output will vary depending on how many reports were produced for the seat numbers.

The number of lines for each report will also vary. There are no fixed number of lines for each report. The output file should start with the header information ending with the ***END OF REPORT FOR SEAT: 000n***.

I hope you can help me build up a code for this...

Thank you very much!
Back to top
View user's profile Send private message

nelson.pandian

Active User


Joined: 09 Apr 2008
Posts: 133
Location: Phoenix, AZ

PostPosted: Thu Dec 16, 2010 2:10 pm    Post subject:
Reply with quote

Hi sophia,

Many of us in the forum will be unable to see the attachment. So please post the records input and Output records instead of attachment.

Please answer the below Question:
Provide us the LRECL & RECFM of Input and output file.
Provide us the max number of Seat # (Number of output file need to create) will be present in your Input file.
For example, If the Max number of Seat is given as 15 and your current input file has only 10 Seat number, IS that fine if we create 10 files with seat number and 5 empty files?
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 Splitting of single report to seperat... abdulrafi TSO/ISPF 4 Mon Mar 27, 2017 3:59 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


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