Troubleshooting
Problem
This document describes what causes the Last Used Date of a program to get updated.
Resolving The Problem
The Last Used Date of a program is updated when the program is run, this does not apply to system programs. If a system program is run, the last used date is not updated.
Some commands cause the Last Used Date to get updated. They are:
CRTDUPOBJ (Create Duplicate Object) command
CPYLIB (Copy Library) command
GRTOBJAUT (Grant Object Authority) for referenced objects
RTVCLSRC (Retrieve CL source) command
The following APIs also cause the Last Used Date of a program to get updated:
Retrieve Program Associated Space (QCLRPGAS) API
Change Object Description (QLICOBJD) API (key field 15)
Please see this link in Knowledge Center on what actions will cause the last used date to be updated for other object types:
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rbam6/detob.htm
Historical Number
367602258
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1015705