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

Summary Reports 2


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gopikrishnan K

New User


Joined: 13 Oct 2006
Posts: 3

PostPosted: Mon Oct 16, 2006 12:52 pm
Reply with quote

Hi,
I have more than one file in following format -

Code:

PROGRAM:  xxxx           HEADING 1                                  PAGE NO.     1
RUN DATE: 10/04/06      HEADING 2                         RUN TIME: 01:24:35
            CLOSED  BOOK  LIQUIDATION  CARTONS
        "EXPLODED" REPLENISHMENT CONTROL COUNTS
     TOTAL REPLENISHMENT RCDS READ     ........        8
           TOTAL CBL CARTON RCDS   ............        0
           TOTAL OTHER CARTON RCDS    ..........       7
           TOTAL NOT FOUND RECORDS                     0
     TOTAL CARTON CTL TBL RCDS READ.............       7
     TOTAL "EXPLODED" RECORDS WRITTEN                  7
           TOTAL CBL CARTON RCDS                       0
           TOTAL OTHER CARTON RCDS                     7


I want an output file in the same format as above, but the counts in each file needs to be summed and displayed in the output file. For Eg. if TOTAL OTHER CARTON RCDS (last line) is 8 in the other file, the output file shud have TOTAL OTHER CARTON RCDS 15 (7 + 8).

Thanks in advance,
Gopikrishnan K
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Oct 16, 2006 9:15 pm
Reply with quote

Are all of the files in the exact same format, that is, do the same lines appear in each file in the exact same order?

Please show an example of more than one input file and what you want for output.

What is the RECFM and LRECL of the input 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 JPM Reports for each DB2 V12 Function... DB2 0
No new posts Mainframe batch Job or REXX to get VT... CLIST & REXX 7
No new posts Splitting of single report to seperat... TSO/ISPF 7
No new posts Produce Mainframe Dash Board Reports ... All Other Mainframe Topics 2
No new posts Get Record count in summary record fo... DFSORT/ICETOOL 21
Search our Forums:

Back to Top