Hello I'm working with Java connecting to an IBM AS400.
I want to read the timestamp of the last change of a DDS file, e.g. the timestamp of the last SQL operation (INSERT INTO MyLib/MyDDS VALUES (...)
).
In the 5250 terminal, I can go to "work with objects" and open the metadata with choosing option 5 (=show) or simply DSPFD FILE(MyLib/MyDDS)
.
There is the timestamp.
Another way is to run dspjrn jrn(MyLib/MyJournal)
to inspect the journal and its timestamps.
How can I access the timestamps from Java, e.g. using JTOpen or SQL?
Thank you :)