|
|
| Author |
Message |
antonrino.b
Active User
Joined: 10 Jan 2006 Posts: 74 Location: Germany
|
|
|
|
Hi,
How to find the last updated date of a dataset thru REXX? |
|
| Back to top |
|
 |
References
|
Posted: Tue Feb 07, 2006 6:36 pm Post subject: Re: last updated date of a dataset thru REXX |
 |
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3101 Location: Charlotte,NC USA
|
|
|
|
Don't know of a REXX function that will give you that information, nor could I find an ISPF Service that does, and LISTCAT doesn'r either.
I think you have to look at your system's SMF data to find this information. |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1867 Location: Israel
|
|
|
|
For datasets, you can use LISTDSI function, then the variable SYSREFDATE will contain the "last referenced date".
For members with ISPF statistics, you can use the LMMSTATS service, and get the "last modified date" in MODDATE.
O. |
|
| Back to top |
|
 |
antonrino.b
Active User
Joined: 10 Jan 2006 Posts: 74 Location: Germany
|
|
|
|
| LMMSTATS is used to set the last modified date. But anyway, thanks for your info. Because of that, I came across LMMLIST service and used that to get the last modified date |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3101 Location: Charlotte,NC USA
|
|
|
|
I'm confused
The ISPF LMMLIST facility is only available for a PDS dataset. As a matter of fact, if you attempt to use it for a QSAM dataset, you get the following message:
| Quote: |
ISRLS123
Data set not partitioned
LMMLIST requires the data set to be a partitioned data set.
|
How is it going to be of any use to your original post:
| Quote: |
How to find the last updated date of a dataset thru REXX?
|
|
|
| Back to top |
|
 |
antonrino.b
Active User
Joined: 10 Jan 2006 Posts: 74 Location: Germany
|
|
|
|
I was trying to get the last updated date of the members of a PDS only.. But is there any way to get the last updated date of a sequential dataset..
Sorry for the misleading question. |
|
| Back to top |
|
 |
|
|