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

Modification Date in a file

IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message

Active User

Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Tue Feb 03, 2004 1:45 pm
Reply with quote

Hello Bosses,

I have a query regarding the modification Date of a VSAM/Sequential file. I can get the reference Date of the files by putting S or I just before of the files. But this may be different of the modification Date. Could anyone please tell me how can I get the last modification date on a VSAM/Sequential File? I heard that from SMF record it can be obtained but I don't know much details. Please throw some details about the SMF and please tell me how can I view that record.
Thanks in advance for your help.
Back to top
View user's profile Send private message

Active User

Joined: 03 Feb 2004
Posts: 127

PostPosted: Fri Feb 13, 2004 10:08 pm
Reply with quote


I bleieve I've seen this post somewhere anyway...

SMF keeps track of any action on the system in a smf dump dataset
there is (or should be) a regular process that each time a smf dataset is full trigger oa dump/clear job of the smf files.
You can thrU SMF utility either dump (not clearing) the SMF file or dump/clear. You may want want to use the current smf dump file but it will contain only data to the last dump/clear process.

the SMF activity data is actually extractable tru type of records :

VSAM Component or Cluster Opened .... TYPE62-VSAM-OPEN
VSAM Catalog Entry Delete ........... TYPE67-VSAM-DELE
VSAM Catalog Entry Renamed .......... TYPE68-VSAM-RENA
VSAM Data Space Defined, Extended, .. TYPE69-VSAM-DSD

Before starting anything, you should talk to those sys guys, they may help you more that I can as to what is the datasetname that keeps SMF records (cumul) what type of records you need to extract, and they may even have a utility to do this.

hope it helps
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


Similar Topics
Topic Forum Replies
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
Search our Forums:

Back to Top