I posting this after doing lot of search on our forum...:-)
I'm trying to use the DCOLLECT output that I received from my SMS team & convert that in to a report format. Unfortunatly we do not SAS with us, so I'm trying to get my reporting done by using Eazytrive ,or, DFSORT.
My final report should have "Data-set-name", "Space-Allocated" & "Space-Utilized" for all migrated as well as Active data sets (i,e, records type DCURCTYP = D or M) that are present on the DCOLLECT output.
when I run my report program..I'm getting DATA exception errors. here is the declaration that I used
DCDDSNAM -> Data set name, starts at 25th position, Alpha numeric.
DCDALLSP -> Space allocated,start at 89th position, Packed decimal (i.e. COMP-3 in cobol equivalent)
DCDUSESP -> Space utilized, starts at 93rd position, Packed decimal (i.e. COMP-3 in cobol equivalent).
Is there any otherway that I can read DCOLLECT Output & extract the above 3 fields quickly? Any valid& useful reply is highly appreciated...
Thanks in advance !!
Thanks Frank... your Fields mapping document helped.. I was able to pull my report by converting the DCOLLECT output from VB to FB file in DFSORT...
OPTION COPY,VLSHRT
OUTFIL FNAMES=FBFILE,OUTREC=(1:5,1020),CONVERT
Then pulled the fields that I required by using....
for Active DASD files...
-------------------------
SORT FIELDS=COPY
INCLUDE COND=(5,1,CH,EQ,C'D')
OUTREC FIELDS=(1:25,44,47:89,4,FI,66:93,4,FI)
And for Migrated files...
---------------------------
SORT FIELDS=COPY
INCLUDE COND=(5,1,CH,EQ,C'M')
OUTREC FIELDS=(1:25,44,47:189,4,FI,66:193,4,FI)