• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1710
  • Last Modified:

iSeries Last Used Date

We have a V6R1 iSeries server where it does not appear that the last used date is getting updated on *PGM objects.

Does anyone have any idea what might be causing this or what we might be able to do to correct this issue?

Our analysts look at the last-used-date to make sure their programs are being utilized.

Matthew Roessner
Matthew Roessner
1 Solution
Gary PattersonVP Technology / Senior Consultant Commented:
This Information Center article explains what causes the "Last Used" dates to be updated on a given object.  For *PGM objects, the Last Used date is updated when a non-system program is executed, or when the RTVCLSRC command is run against a specific program.


If you have objects that you have verified are being used, but are not being updated, make sure you are current on PTF's.  If you are current on PTF's, then you'll need to open an incident with IBM.

Note that it is more likely that the program in question simply aren't being used, perhaps as the result of a library list change.  Make sure and evaluate this possibility.  An easy way to test is to have an analyst manually call a specific program:


and verify that it is properly updated.  If not, then you certainly have an issue.

If the issue is simply that the last-used date information was lost during restore, this can happen if the program was restored when the system was not in a restricted state.

- Gary Patterson
Jon SnydermanCommented:
Just to add, the first thing that I do when running into a situation like this, is to do a WRKOBJ to find all instances of that program name across *ALL libraries.   If there are multiple, check each of their last used dates.  If you find the one that IS being used, it's clearly a library list or poorly coded application problem.  If not, then I agree with Gary and your should look at the other reasons, but mostly likely contact IBM.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now