From: michael@crown.as.utexas.edu (Michael Lemke)
Subject: Re: utime on VMS
Date: 16 Mar 92 09:07:18 GMT [thread overview]
Message-ID: <68498@ut-emx.uucp> (raw)
In-Reply-To: 1992Mar16.034622.2639@bronze.ucs.indiana.edu
In article <1992Mar16.034622.2639@bronze.ucs.indiana.edu> mdchaney@bronze.ucs.indiana.edu (M Darrin Chaney) writes:
>In article <1992Mar15.220608.13272@umbc3.umbc.edu> cs635124@umbc5.umbc.edu (cs635124) writes:
#>Howdy,
#>
#> Is there a VMS equivalent of the unix function utime() (to update the
#>access/modification times of a file)? My VMS manual references something
#>called C$VAXCIO, but gives no indication how to link to it or where header
#>files might be. I've been told that I can get this functionality by mucking
#>with RMS, but I'd rather not :)
#>
#> Thanks,
#>
#> --John
#>
#>PS: This is VMS 5.3.1
#
#I have a "touch" program that I wrote in Macro-32. It changes the
#modification date, but could easily change any of the four dates
#associated with files.
#
#Write back if interested.
#
# Darrin
I think, this FORTRAN `program' does the trick:
PROGRAM TOUCH
OPEN( 1, FILE = 'file_to_be_touched' )
CLOSE( 1 )
END
Maybe you have to compile /NOOPT. Make that a subroutine and call from
C.
Michael
--
Michael Lemke
Astronomy, UT Austin, Texas
(michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
next prev parent reply other threads:[~1992-03-16 9:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-03-15 22:06 utime on VMS cs635124
1992-03-16 2:00 ` Cave Newt
1992-03-16 3:46 ` M Darrin Chaney
1992-03-16 9:07 ` Michael Lemke [this message]
1992-03-16 5:09 ` news
1992-03-16 8:17 ` Aaron M. Renn
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox