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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

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