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

Using DFSORT to sum several amounts within one line


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

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Jul 30, 2008 3:30 pm
Reply with quote

Hi !

Is there a possibility to sum several amounts in one line and add the total ammount to that line by using Dfsort.

Example: build total of columns 1,3,5 and 2,4,6
Would be: 99 and 132
Add this to the line

InputFile: 11 22 33 44 55 66 77 88

OutputFile: 11 22 33 44 55 66 77 88 - 99 132

I also post this question in Syncsort-Section, cause i work on several plattforms using Syncsort and Ddfsort. So it's beneficial to have both solutions.

And yes, I searched the forum. Perhaps with the wrong adjectives :-)

Thank's in advance !
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Wed Jul 30, 2008 4:53 pm
Reply with quote

ibmmainframes.com/viewtopic.php?t=32910
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Jul 30, 2008 8:30 pm
Reply with quote

Thank's krisprems !
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
Search our Forums:

Back to Top