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
 

 

To find the sum of a group in FOCUS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
aprak00
Warnings : 2

New User


Joined: 09 Aug 2006
Posts: 24

PostPosted: Fri Sep 12, 2008 8:22 pm    Post subject: To find the sum of a group in FOCUS
Reply with quote

I need to provide the sum of an amount field based on the account number. Please find the sample below:
Data is:
Code:
ACCT NO             POLICY           CERT            AMT
0001                1000             101            10.00
0001                2000             201            20.00
0001                3000             301            15.00
0002                4000             401            05.00
0002                5000             501            15.00

The Report should look like as follows:

Code:
ACCT NO             POLICY           CERT            AMT

0001                1000             101            10.00
0001                2000             201            20.00
0001                3000             301            15.00
                                     TOTAL          45.00

0002                4000             401            05.00
0002                5000             501            15.00
                                     TOTAL          20.00

Is this possble in FOCUS. Could anyone please help me on this?
Back to top
View user's profile Send private message

rajeshramakumar

New User


Joined: 12 Apr 2007
Posts: 1
Location: Hartford

PostPosted: Wed Sep 17, 2008 9:07 pm    Post subject:
Reply with quote

Not sure if this works <no access to test>, you might want to try

PRINT POLICY CERT AMOUNT
BY ACCT NO
ON ACCT NO SUBTOTAL
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Need Help with : IFTHEN(WHEN=GROUP) Sumanta_89 DFSORT/ICETOOL 1 Wed Apr 19, 2017 5:23 pm
No new posts Group elements using ICETOOL Learncoholic DFSORT/ICETOOL 2 Fri Apr 14, 2017 11:01 am


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