Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
I have the qp01SetAttr function for changing the last modified date/time of an IFS object, however this interface does not apply to OS/400 (IBM i) Objects.
I'm wondering if anyone knows of an interface (API, SQL function, etc.) that can be used to modify the last changed date?
Note the CPYSRCF command has this capability so if it isn't available via API then is must just not be exposed to use humans.
Did you look at this article Bob?
Brian
Thanks Brian, they are changing the last used date not the last modified date, in that example. But it did point me to the MI article and I do have the ability to use C to do that kind of stuff, so I'll give it a try.
How does CPYSRCF have this capability? All I see there is you can set SRCCHGDATE, which is the SRCDAT column in the source member, not a file or member level attribute.
Yes but not at v5r4