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

ICETOOL to SUM String


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

New User


Joined: 16 Aug 2005
Posts: 55

PostPosted: Wed Sep 11, 2024 7:46 am
Reply with quote

I'm having some issues with Icetool to summarize this string.

input
Code:
kajsdk 12313 askljdlak aaaaa
kajsdk 12313 askljdlak aaaaa
kajsdk 12313 askljdlak bbbbb
kajsdk 12313 askljdlak bbbbb


Code:
kajsdk 123123 askljdlak aaaaa  2
kajsdk 123123 askljdlak bbbbb  2


I'm using this control statements

sort fields=(1,29,ch,A)
sum fields=(1,29)

but this doesn't give me the count.
any ideas ?
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1307
Location: Bamberg, Germany

PostPosted: Wed Sep 11, 2024 10:24 am
Reply with quote

Code:
SORT FIELDS=(1,29,CH,A)                                         
OUTFIL NODETAIL,SECTIONS=(1,29,TRAILER3=(1,29,COUNT=(EDIT=(IT))))
END
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 Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Help with C character vs C string All Other Mainframe Topics 3
No new posts ICETOOL returns no records JCL & VSAM 1
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top