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
 

 

How to list last access date of mainframe datasets?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Siriporn P.

New User


Joined: 16 Jan 2006
Posts: 9

PostPosted: Mon Jun 05, 2006 9:03 am    Post subject: How to list last access date of mainframe datasets?
Reply with quote

Good day,

I need your favor regarding listing last access date of mainframe datasets. Are there any utilities to create as a batch job and run to show the details?

When i tried putting 'S' in front of the dataset, Reference dates of all the migrated datasets were changed to today date. So this was not a correct last access date.
Back to top
View user's profile Send private message

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Wed Jun 07, 2006 1:57 pm    Post subject: Re: How to list last access date of mainframe datasets?
Reply with quote

Hi,
Can't we use LISTCAT in batch to achieve this?

Thanks,
Parikshit
Back to top
View user's profile Send private message
cjcpr

New User


Joined: 21 Mar 2006
Posts: 21
Location: USA

PostPosted: Fri Jun 09, 2006 7:22 am    Post subject: Re: How to list last access date of mainframe datasets?
Reply with quote

in I3.4 when browing the dsn list, just press f11. THat should give u more options to loo kat.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Jun 09, 2006 12:17 pm    Post subject:
Reply with quote

F11 don't help at all.

Parikshit...could you please let us know how to use LISTCAT in BATCH??

~Vamsi
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Fri Jun 09, 2006 3:00 pm    Post subject: Re: How to list last access date of mainframe datasets?
Reply with quote

F11 will definitely give the last access date
it will be like this format when u press the Pf11 key

Name Prompt Size Created Changed
ICE4 *Edited 39 2006/06/09 2006/06/09 01:08:17

U can use the Changed one to see the last accesed date of the particular dataset
Back to top
View user's profile Send private message
varun_sharma

New User


Joined: 08 Jun 2005
Posts: 19
Location: new delhi

PostPosted: Fri Jun 09, 2006 3:09 pm    Post subject: Re: How to list last access date of mainframe datasets?
Reply with quote

Hi

F11 doesn't give the last access date. Howeve, using 'S' or 'I' in front of the dataset gives you the last referenced date and created date, don't know why you are not getting the same. This is one of the lines i got when i used 'I'.

Creation date . . . : 2006/05/22 Referenced date . . : 2006/06/08

Cheers
Varun
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Fri Jun 09, 2006 3:29 pm    Post subject: Re: How to list last access date of mainframe datasets?
Reply with quote

I am afraid I am not proposing any solution, but I would like to re-iterate the original query from Siriporn -
"When you recall migrated datasets into DASD, last access date would show as today's date. Is there a way to find the last access date for these? Also, is it possible to capture this info in batch job?"
F11 will not show last access date for migrated datasets. And I don't think IDCAMS would show last access date for any dataset, migrated or not, will it?
I even tried TSO LISTDS, but it returns only created and expiration dates.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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