z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


utime

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-utime--pathname--atime--mtime-------------------------------><

Function

utime invokes the utime callable service to set the access and modification times of a file.

Parameters

pathname
A pathname for the file.
atime
A numeric value for the new access time for the file, specified as POSIX time (seconds since the Epoch, 00:00:00 1 January 1970).
mtime
A numeric value for the new modification time for the file, specified as POSIX time (seconds since the Epoch, 00:00:00 1 January 1970).

Example

In the following example, assume that file, atm, and mtm were assigned values earlier in the exec:
"utime (file)" atm mtm

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014