Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 4650
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us