On Wed, 16 Jun 2021 08:42:15 +0100, Lennie Dymoke-Bradshaw wrote:

>Does the result depend on whether there is an EOF marker in the file?
>
I did restrict my plaint to ISPF Edit; I was considering only the number
of lines in ISPF's view.

>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.
>
I believe that nowadays it depends on:
o Availability of SMS.
o DSORG=PS.
o Access method.  EXCP makes its own rules.

IMO, DSORG should be irrelevant.  Allocation should simply write EOF at the
beginning of any newly obtained extent.

DS1LSTAR adds complexity.

>-----Original Message-----
>From: Paul Gilmartin
>Sent: 16 June 2021 04:50
>>    ...
>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

Reply via email to