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

How to list last access date of mainframe datasets?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top