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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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