Posted: Thu Mar 12, 2009 4:42 am Post subject: Report from a Report
Hi
I've a report in the format below.
Quote:
Code:
1RUN DATE 03/09/09 xxxxxx - OHIO CB080S10/014
RUN TIME 22:52:29 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 1
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Detailed records
1RUN DATE 03/09/09 xxxxxx - OHIO CB080S10/014
RUN TIME 22:52:29 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 2
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Detailed records
1RUN DATE 03/09/09 xxxxxx - NEW JERSEY, INC. CB080S10/014
RUN TIME 22:53:00 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 105
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Detailed records
Detailed records
1RUN DATE 03/09/09 xxxxxx - PENNSYLVANIA CB080S10/014
RUN TIME 22:52:58 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 103
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Detailed records
Detailed records
I need to generate a report from this containing only OHIO part as below and exclude others.
Quote:
Code:
1RUN DATE 03/09/09 xxxxxx - OHIO CB080S10/014
RUN TIME 22:52:29 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 1
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Detailed records
1RUN DATE 03/09/09 xxxxxx - OHIO CB080S10/014
RUN TIME 22:52:29 DIRECTORY ASSISTANCE CONTROL REPORT PAGE 2
FOR BILLING CYCLE 10
Detailed records
Detailed records
Detailed records
Please could you help me out the sort card to do this.
Thanks in advance
TVSSV _________________ Thanks
TVSSV
Assuming that your records were wrapped in the above example, and that your input file is really FB/133, the following SORT step should produce your desired results:
This will allow you to modify the INCLUDE statement for whichever state you wish to run the report for. _________________ Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Last edited by amargulies on Thu Mar 12, 2009 10:23 am; edited 1 time in total
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Support for WHEN=GROUP was included in SyncSort for z/OS 1.3.2.0. You are getting the syntax error because you are running an earlier release of the product which does not support this feature.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum