Hi,
I am trying to use DFSORT to summarize the space on a few STORAGE GROUPS.
The INPUT is a file with all the DCOLLECT TYPE "V" records. I am sorting it
by the storage group name, and using for SUM FIELDS the "TOTAL CAPACITY OF
VOL" and "ALLOCATED SPACE ON VOL":
//SYMNAMES DD DISP=SHR,DSN=&SORTINPT(HEADER)
// DD DISP=SHR,DSN=&SORTINPT(TYPED)
// DD DISP=SHR,DSN=&SORTINPT(TYPEV)
// DD *
/*
//SYSIN DD *
OPTION VLSHRT,VLSCMP,DYNALLOC=(,4)
SORT FIELDS=(DCVSGTCL,A)
SUM FIELDS=(DCVVLCAP,
DCVALLOC)
OUTREC BUILD=(1,4,
DCVSGTCL,
X,
DCVVLCAP,TO=ZD,LENGTH=12,
X,
DCVALLOC,TO=ZD,LENGTH=12)
/*
SGDBPR 004269156403 003922234851
SGDBPR 004291119225 003956540903
SGDBPR 003921254707 003540881521
SGPBBA01 004270725195 003604173686
SGPBBA01 000489457431 000415088205
SGPBSLF1 000794845384 000618058380
SGPCMN01 000946545810 000703252143
As you can see, I have multiple records for storage group SGDBPR and
SGPBBA01.
Any ideas as what may be causing this?
Regards,
Jack
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN