On Fri, 9 Dec 2022 08:54:03 +0000, Ian Worthington wrote:

>When I run JCL with
>//PCAPFN DD PATHOPTS=(OCREAT,ORDWR,OTRUNC),   
>// PATHMODE=..., PATH=...             // FILEDATA='BINARY'
>
>any existing file gets extended.  Yet
>    ...
>   - OTRUNC
>      - Specifies that the system is to truncate the file length tozero if all 
> the following are true:       
>      - ...
>      - The file is a regular file.
>      - ...
A Google search suggests that ddname PCAPFN tehds to be associaged with
a network utility.  If the file is a network file rather than a regular file, 
the rule
would not apply.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to