Hi

If you issue a REXX "readdir", in the optional stem2 you got the fstat structure I'm using from this the st_ctime and st_mtime and convert via the "gmtime" function

On 01.06.2012 21:54, Roger Wasley wrote:
Afternoon
I have been attempting to use SYSCALL READDIR and the fstat according to the 
manual but there seems to be no way to gath the DATE a USS file was accessed.

based on fstat st_type I knwo if it is a directory or file but not the date it 
was last accessed. I looked at the mtime field but either I misread it or it is 
no good

has anyone been able to do the READDIR or any other REXX SYSCALL and get the 
modfication date?

Many thanks

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to