On Tue, 11 Nov 2025 07:22:33 -0600, Scott McLeod  wrote:

>find ... -newer referencefile 
>     ...
Thanks.  I don't know how I i missed it.

>or 
>find ... -newerXY reference
>where X = m, Y = t, and reference is an actual timestamp  = 'yyyy-mm-dd 
>hh:mm:ss'
>
Is there an easy way to generate the  'yyyy-mm-dd hh:mm:ss' string?  Perhaps
a format to date?  Less likely from  referencefile ?  Is it portable?

Looking at:
 
<https://www.ibm.com/docs/en/zos/3.2.0?topic=descriptions-find-find-file-that-meets-specified-criteria>
I read:
    -size number[c]
        ...
        number is a decimal number, optionally preceded by a plus or minus sign.
        If a number is given without a sign, find tests for equality. A plus 
sign
        implies greater than or older than, and a minus sign implies less than
        or newer than.
"-size" doesn't test for older or newer.  I'll submit a Feedback.

When I first encountered MVS, my mentors lauded the quality
of IBM documentation.  Nowadays it appears that Copy-and-Paste
eliminates the need for proofreading.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to