GA.JPH@ISUMVS.BITNET ("John Hascall") (09/21/87)
Kevin Cole <CADS_COLE%GALLUA.BITNET@WISCVM.WISC.EDU> writes: > I'm looking for a relatively simple way (preferably in DCL) to check > a file's modification date against the last interactive LOGIN date. > If the file's date is more recent, I want to print it out. Can > someone point me towards the right lexicals (or whatever)? You can get a file's modification date with: F$FILE_ATTRIBUTES("file-spec","RDT") against whose last interactive LOGIN date? If you mean the currently executing process, you can use F$GETJPI("","LOGINTIM") If you mean the file's owner, the owner can be found with F$FILE_ATTRIBUTES, but there is no lexical equivalent of the system service $GETUAI (that I know of) to return the LAST interactive LOGIN time from the UAF file. John Hascall Iowa State University Computation Center GAJPH@ISUMVS.BITNET [The opinions expressed are strictly my own and are probably in no way related to any official position of ISUCC, Iowa State University, the State Board of Regents, the State of Iowa or any sane individual, ... although they could be reproduced by an infinite number of monkeys at an infinite number of terminals ... ]