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

Trying to split a report using Icetool/SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
Search our Forums:

Back to Top