It all depends; this is the logic for the 'V' record which comes in two flavors, with value of bytes the result of this code:
IF DCVCYLMG=' ' THEN DO; /* UNITS ARE KB*/ DCVALLOC=1024*DCVALLOC; /*CONVERT TO BYTES FOR MGBYTES FORMAT*/ DCVFRESP=1024*DCVFRESP; DCVLGEXT=1024*DCVLGEXT; DCVVLCAP=1024*DCVVLCAP; DCVTRFSP=1024*DCVTRFSP; DCVTRALC=1024*DCVTRALC; DCVTRVLC=1024*DCVTRVLC; DCVTRLGE=1024*DCVTRLGE; END; ELSE IF DCVCYLMG='Y' THEN DO; /* UNITS ARE MB*/ DCVALLOC=1048576*DCVALLOC; /*CVERT TO BYTES FOR MGBYTES FORMAT*/ DCVFRESP=1048576*DCVFRESP; DCVLGEXT=1048576*DCVLGEXT; DCVVLCAP=1048576*DCVVLCAP; DCVTRFSP=1048576*DCVTRFSP; DCVTRALC=1048576*DCVTRALC; DCVTRVLC=1048576*DCVTRVLC; DCVTRLGE=1048576*DCVTRLGE; END; All of the other byte-containing fields in the other DCOLLECT records are multiplied by 1024 to convert their KB to bytes, and all byte-containing variables in MXG are in bytes, but formatted with MGBYTES format to print with K/M/G/ etc suffix. Barry Herbert W “Barry” Merrill, PHD President-Programmer Merrill Consultants MXG Software 10717 Cromwell Drive Dallas, TX 75229 www.mxg.com 214 351 1966 ad...@mxg.com for business questions supp...@mxg.com for technical questions ba...@mxg.com -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Steve Smith Sent: Monday, October 28, 2019 4:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: DCOLLECT use of KB/MB 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'). -- sas ---------------------------------------------------------------------- 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