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

How to find sum


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

New User


Joined: 25 Feb 2006
Posts: 31

PostPosted: Mon Feb 27, 2006 7:02 pm
Reply with quote

Hi,
I am having one sequential file like

Code:

c-id   name     cost       address
s001   sfdsf       5       sfs
s002   sfhgf       6       dgdg
s001   sfdsf       8       sfc
n001   dss         6       dfgdf
s002   sfhgf       8       fddgd


I want to find of cost for those customer whose c-id appears more than one in c-id.

Can any one help me to it?

Thanks.
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 Feb 27, 2006 10:04 pm
Reply with quote

What do you want the output to look like? What is the RECFM and LRECL of the input file?
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: Tue Feb 28, 2006 9:38 pm
Reply with quote

Nilesh,

You sent me a private note saying

Quote:
RECFM is FB and LRECL=80 & BLKSIZE=800


But you still haven't shown me what you want the output to look like.
I need to know that to show you how to do what you want to do.

And please post here rather than sending me private notes.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top