Right, it appears to be magic -- "just say EXECIO and presto there's the record count in STEM.0" -- but under the covers it is reading through the whole dataset and counting.
Rexx is all 31-bit, right? So the limit would presumably be something in the 1 to 2 GB range. That is not an implausibly huge dataset. 1GB is what? 800 cylinders or somewhat more, depending on blocking, short tracks, etc.? Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Wayne Bickerdike Sent: Thursday, May 14, 2020 11:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files? > EXECIO in REXX will give you the record count in stem zero I believe only by reading the entire file. On Fri, May 15, 2020 at 8:02 AM Charles Mills <charl...@mcn.org> wrote: > > EXECIO in REXX will give you the record count in stem zero > > I believe only by reading the entire file. > > Charles > Agree Charles. It's sort of hidden and would need a large memory allocation for the stem. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN