Thread: REXX

LISTDSI for dataset create date - is that enough?

Started by Phil • user3 replies129 viewsLast activity 3 weeks ago
Post #1
0 votes
Phil
Reputation
145
Posts: 12
Joined: Dec 1, 2024, 10:20 AM
Posted: Jul 23, 2026, 11:27 AM

Need create date (and ideally last change) for a list of datasets. LISTDSI gives SYSCREATE and SYSREFDATE. People say last update is not really there.

What do you actually use in practice?

Post #2
0 votes
Susan
Reputation
167
Posts: 26
Joined: Jan 19, 2025, 4:12 PM
Posted: Jul 23, 2026, 1:27 PM

LISTDSI for create + last reference is what most REXX does. SYSUPDATED is just Y/N, not a timestamp. True last-update usually means SMF, which nobody wants inside a quick REXX.

LISTCAT ALL is the other common path if you are already in IDCAMS land.

Post #3
1 votes
Bill
Reputation
221
Posts: 41
Joined: Aug 28, 2024, 7:08 AM
Posted: Jul 24, 2026, 12:27 PM

We wrap LISTDSI in a loop after LISTC LEVEL(...). Good enough for cleanup reports. Auditors wanting "last changed" get an SMF job.

You must be signed in to reply to this thread