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
 

 

Summary Reports 2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Summary Reports 2
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 Moderator


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

PostPosted: Mon Oct 16, 2006 9:15 pm    Post subject:
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    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 Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
No new posts Get Record count in summary record fo... Atul Banke DFSORT/ICETOOL 21 Fri Sep 23, 2016 4:17 pm
No new posts Validation of reports generated in As... deb_parthas PL/I & Assembler 3 Wed Jul 30, 2014 3:18 pm
No new posts How to implement delimiter for summar... sureshbabu.jv CA Products 3 Tue Nov 12, 2013 5:53 pm
No new posts Multiple sort fields within multiple ... bvarun. DFSORT/ICETOOL 12 Mon Jul 08, 2013 12:21 pm


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