Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

last updated date of a dataset thru REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: last updated date of a dataset thru REXX
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

Moderator Team Head


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

PostPosted: Tue Feb 07, 2006 7:43 pm    Post subject: Re: last updated date of a dataset thru REXX
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: 2360
Location: Israel

PostPosted: Tue Feb 07, 2006 7:56 pm    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Feb 08, 2006 8:01 pm    Post subject: Re: last updated date of a dataset thru REXX
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    Post subject: Re: last updated date of a dataset thru REXX
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us