Re: change access & modification time of file-members



Etienne,

I do not think that it can be done using an official API. I use a MI program originally written by Leif Svalgaard and slightly modified by me. It can change the modification date and time as well as the creation date and time. The drawback is that it does not work on security level > 30.

Let me know if you want a copy of my CHGMBRDAT command.

Regards,

Thomas Raddatz.





ET schrieb:
Hi,

I need to change the access and modifiation times of a source physical file member programmatically.

I have tried the utime() and Qlg0lSetAttr() APIs, but they only support setting access and modification times of IFS files, not of anything in the /QSYS.LIB file system.
Is there any other API that can do this ?

Thanks in advance for any help,

Etienne


.



Relevant Pages

  • Re: change access & modification time of file-members
    ... "Thomas Raddatz" schreef in bericht ... I do not think that it can be done using an official API. ... I need to change the access and modifiation times of a source physical file member programmatically. ... You can use the touch qsh command as well. ...
    (comp.sys.ibm.as400.misc)
  • Re: change access & modification time of file-members
    ... I would be most grateful if you could send me your MI source. ... I do not think that it can be done using an official API. ... I need to change the access and modifiation times of a source physical ... setting access and modification times of IFS files, ...
    (comp.sys.ibm.as400.misc)