OK, I don't follow; in particular, what do you mean by "jump"? In case it helps clarify, I am SORTing a DCOLLECT file, which for some reason, uses "kilobytes" for normal DASD, and "megabytes" for EAV. I came up with an INREC statement that fixes that, but I'd like to use the correct multiplier (I assume 1024 for now):
SORT FIELDS=(DCVDVTYP,A,DCVDVNUM,A) INREC IFTHEN=(WHEN=(DCVEAVOL,EQ,X'80'), OVERLAY=(49:DCVVLCAP,MUL,+1024,TO=FI,LENGTH=4)) re 'MVS': funny. re IBM-MAIN search: I got a list of message title & authors, the newest being from 2008. Nothing on the list was clickable, so it would be useless even if weren't already useless. sas On Mon, Oct 28, 2019 at 10:23 PM Mike Schwab <mike.a.sch...@gmail.com> wrote: > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.idai200/dcxmp1.htm > > http://publibz.boulder.ibm.com/epubs/pdf/dgt3i201.pdf > > Appendix F DCollect output > Record Type V VOLUME Printed page 478+ PDF page 504+. > > Offset 121 x'79' is x'80' when EAV and capacity is stated in MB, Is > x'00' when non-EAV and capacity is stated in KB. > Offset 36 (free), 40 (allocated), 44 (total) is 4 bytes binary > capacity. Non-EAV about 56 (KB) is one track and it uses the exact > byte count from the capacity table then divides and will jump. So > dividing by 56 will cause jumps and suggest adding 1 before dividing > for a report in number of tracks. > > On Mon, Oct 28, 2019 at 8:32 PM Paul Gilmartin > <0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > > > > On Mon, 28 Oct 2019 16:22:34 -0500, Mike Schwab wrote: > > > > >Power of 2. Number of cylinders is another field. > > > > > Citation needed. > > > > >On Mon, Oct 28, 2019 at 4:12 PM Steve Smith wrote: > > >> > > >> What does "kilobytes" and "megabytes" mean to DCOLLECT, > specifically, type > > >> "V" (volume) records in the values it shows for volume capacity, and > > >> several related fields? i.e. does KB=1000 or KB=1024? After spending > > >> considerable time perusing the fine manual, I haven't seen a hint. > > >> > > >> btw, my attempt to search the list on > https://listserv.ua.edu/cgi-bin/wa > > >> returned nothing for any term I tried (including 'MVS'). > > >> > > That's 1,048,576 VSes. > > > > -- gil > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > > -- > Mike A Schwab, Springfield IL USA > Where do Forest Rangers go to get away from it all? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- sas ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN