Hi Kolusu, Thank you for you help. I used one HLQ that has few files, (10 DASD; 1 Migrated; 11 HSM Backup; 22 DCOLLECT records).
On my first try it gave me three output records: ASCLI 0 KB 830 KB 0 KB ASCLI 16.988 KB 0 KB 0 KB ASCLI 0 KB 0 KB 17.817 KB on the second run, with OUTFIL INCLUDE and without SUM FIELDS, it gave me ten records: ASCLI 830 KB 0 KB 0 KB ASCLI 8.190 KB 0 KB 0 KB ASCLI 166 KB 0 KB 0 KB ASCLI 830 KB 0 KB 0 KB ASCLI 830 KB 0 KB 0 KB ASCLI 830 KB 0 KB 0 KB ASCLI 3.320 KB 0 KB 0 KB ASCLI 332 KB 0 KB 0 KB ASCLI 830 KB 0 KB 0 KB ASCLI 830 KB 0 KB 0 KB It has the info from the ten type "D" records but there is no information for the type "B" and type "M" records. Any ideas? Jack On Thu, 7 Sept 2023 at 13:14, Sri h Kolusu <skol...@us.ibm.com> wrote: > >> Now, I hope that you do not mind if I ask you for one more thing. I > wanted to have one line with the high level qualifier and all the three > values but instead I am getting three lines for each HLQ. > > Jack, > > If you used the updated INREC then you should have gotten a summary record > of 1 record per HLQ. If you are still getting multiple records per hlq, > then you still must be getting an overflow. How about we diagnose the issue? > > Pick a HLQ where you are getting multiple records and use it in the > include on OUTFIL without SUM fields > > //SYSIN DD * > OPTION VLSHRT,VLSCMP,DYNALLOC=(,4) > INCLUDE COND=(DCURCTYP,EQ,DCUDATAT,OR, * DATA RECORD > DCURCTYP,EQ,UKTMIGR,OR, * MIGR RECORD > DCURCTYP,EQ,UKTBACK) * BACKUP RECORD > > INREC IFTHEN=(WHEN=INIT, > PARSE=(%01=(ABSPOS=29,ENDBEFR=C'.',FIXLEN=8)), > OVERLAY=(FMT-HLQ:%01, > TMP-DCDALLSP:8Z, > TMP-UMALLSP:8Z, > TMP-UBALLSP:8Z)), > > IFTHEN=(WHEN=(DCURCTYP,EQ,DCUDATAT), > OVERLAY=(TMP-DCDALLSP2:DCDALLSP)), * ALLOC SPACE > > IFTHEN=(WHEN=(DCURCTYP,EQ,UKTMIGR), > OVERLAY=(TMP-UMALLSP2:UMALLSP)), * MIGRATED SPACE > > IFTHEN=(WHEN=NONE, > OVERLAY=(TMP-UBALLSP2:UBALLSP)) * BACKUP SPACE > > SORT FIELDS=(FMT-HLQ,A) * SORT BY DATASET HLQ > > OUTFIL INCLUDE=(FMT-HLQ,EQ,C'JACKZUKT') > /* > > > Now check the output for the field values of all the space fields that you > added. > > Thanks, > Kolusu > DFSORT Development > IBM Corporation > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN