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

how to find when was VSAM cluster last updated


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Thu Oct 26, 2006 12:17 am
Reply with quote

Hi,
I have a querry.

How to find when was the a KSDS last updated. (date of update)
I tried using LISTCAT, but its not showing me the date I want to.

Can some one guide me on this.

David.
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Thu Oct 26, 2006 10:48 pm
Reply with quote

ISPF option 3.4 ( Data Set List Utility) show last referenced date, Select initial view 4 (Total) or you can toggle using PF11(RIGHT).

Code:

Enter one or both of the parameters below:                               
   Dsname Level . . . VSAMFILE.NAME                       
   Volume serial  . .                                                   
                                                                         
Data set list options                                                   
   Initial View . . . 4  1. Volume       Enter "/" to select option     
                         2. Space        /  Confirm Data Set Delete     
                         3. Attrib       /  Confirm Member Delete       
                         4. Total        /  Include Additional Qualifiers
                                         /  Display Catalog Name         


Code:

Command - Enter "/" to select action                  Message           Volume
 Tracks %   XT Device  Dsorg Recfm Lrecl Blksz  Created    Expires    Referred
          Catalog                                                             
-------------------------------------------------------------------------------
         VSAMFILE.NAME                                   *VSAM*
                        VS                                                     
          TESTA.ICFCAT                                                         
-------------------------------------------------------------------------------
         VSAMFILE.NAME.DATA                               OCA031+
    15   ?   1 3390     VS   ?         ?     ? 2006/10/25 ***None*** 2006/10/26
          TESTA.ICFCAT                                                         
-------------------------------------------------------------------------------
         VSAMFILE.NAME.INDEX                              OCA031
    15   ?   1 3390     VS   ?         ?     ? 2006/10/25 ***None*** ***None***
          TESTA.ICFCAT                                                         


or just put 'S' in 3.4 option beside the .DATA component of file.
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Fri Oct 27, 2006 2:03 am
Reply with quote

Hi MFRASHEED,

Thanks for your response. What I am looking for is, last update date and the 3;4 option is going to give me the last reference date (which might be the date when the data set was reffered but not updated).

thanks

David.
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Fri Oct 27, 2006 10:47 am
Reply with quote

You would need to interrogate SMF records.
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts CVDA value for RRDS VSAM dataset. CICS 2
Search our Forums:

Back to Top