>> 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 [email protected] with the message: INFO IBM-MAIN