IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

last updated date of a dataset thru REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Tue Feb 07, 2006 6:36 pm
Reply with quote

Hi,

How to find the last updated date of a dataset thru REXX?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Feb 07, 2006 7:43 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 07, 2006 7:56 pm
Reply with quote

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
View user's profile Send private message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Wed Feb 08, 2006 7:55 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Feb 08, 2006 8:01 pm
Reply with quote

I'm confused icon_confused.gif

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
View user's profile Send private message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Thu Feb 09, 2006 2:16 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top