Re: DFSORT - adding up on a field

2023-07-14 Thread Jack Zukt
Thank you very much Kolusu. That did the trick Best wishes Jack On Thu, 13 Jul 2023 at 17:40, Sri h Kolusu wrote: > Jack, > > If your intention is to count the number of Storage group and DASD Model, > then you can init with a counter of 1 and then sum it up. > > Here are the updated control ca

Re: DFSORT - adding up on a field

2023-07-13 Thread Sri h Kolusu
Jack, If your intention is to count the number of Storage group and DASD Model, then you can init with a counter of 1 and then sum it up. Here are the updated control cards. I added a new symbol TMP-STGCNTR and initialized it with 1 using INREC and then sum that field. // DD * TMP-D

DFSORT - adding up on a field

2023-07-13 Thread Jack Zukt
Hi, I am processing DCOLLECT volume records in order to get the total space allocated by Storage group and DASD model. What I am trying to achieve is this: SCPHSMLG 0001 0002 3390-27 27.192.079 111.778 SCPHSMLG 0002 0001 3390-09 41.572.505 1