On Thu, 24 Jan 2019 14:44:25 -0500, Kevin Mckenzie wrote:
>Right. touch is a standard unix command; it officially is used for
>updating the access or last modified time of a file, but it's often used
>sort of as a utility command in the way IEFBR14 can be used to create a
>file.
>
>So I would think a job step like:
>
>//TOUCH EXEC PGM=BPXBATCH,PARM='SH touch -c /u/usr/xerox/tmpfile'
>
My experience has been that "touch" from an NFS client does *not* update
the timestamp of an existing PDS(E) member. ISPF timestamp? FAMS timestamp?
Whatever.
>... The -c option tells touch not to create a file that isn't already there,
>...
>
Conversely, I use:
: >>/some/path/name
... which creates a new file but does not modify the timestamp of an existing
file.
>Note that case matters in the PARM statement.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN