Does the result depend on whether there is an EOF marker in the file? Traditionally, such EOF markers were not written to new files. I know that ISPF 3.2 does do this today, but I suspect that common (step) allocation does not.
Lennie Dymoke-Bradshaw https://rsclweb.com ‘Dance like no one is watching. Encrypt like everyone is.’ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: 16 June 2021 04:50 To: [email protected] Subject: Re: Coding for the future On Tue, 15 Jun 2021 22:43:41 -0400, Bob Bridges wrote: > >What you describe here reminds me of a function I use in many Excel programs >to determine the last data row in a worksheet. I use it routinely, so it has >to work even in odd circumstances such as no rows, ... > It irritates me that (AFAIK) ISPF Edit provides no way to extract the size of a file without getting a warning (RC=4) on an empty file. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
