I used this:
https://archive.midrange.com/midrange-l/201807/msg00419.html

to do exactly what you are thinking about. Changed parms and returned data.
interesting learning experience.


or:

https://www.ibm.com/developerworks/ibmi/library/i-power-of-udtf/index.html




Bryan


Hudson, Ron wrote on 8/3/2018 2:44 PM:
I would like to use an API to retrieve the date & time the data in a physical file was last changed?

This would be the same date/time as CL command - RTVMBRD FILE(lib/file) CHGDATE(&VAR1) would return. (or DSPFD & bottom)

I can retrieve the date the object was created with using QDBRTVFD format 'FILD0100' or QUSRMBRD format 'MBRD0200', but I'm having trouble with the change date.

Thanks
Ron


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].