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

Obtaining Date created and date referenced using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raam

New User


Joined: 29 Jan 2007
Posts: 13
Location: mumbai

PostPosted: Fri Jun 15, 2007 6:44 pm
Reply with quote

Hi,
Please let me know a suitable way to obtain date created and date referenced for VSAM files using Rexx.

I was using LISTDSI for other datasets but it is not working for VSAM datasets.

The command LISTC is not fetching the Refernce date but gives creation date alone.

Please help me out pals.

Regards,
Ram
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 15, 2007 7:42 pm
Reply with quote

I think that you will need to look at the DCOLLECT D records for the data portion of the cluster to get this.

Otherwise type 64 SMF records.

VSAM dataset statistics are only updated at the close of file.
Back to top
View user's profile Send private message
raam

New User


Joined: 29 Jan 2007
Posts: 13
Location: mumbai

PostPosted: Mon Jun 18, 2007 2:37 pm
Reply with quote

Hi,

Thanks for the info.

Can you explain to me with a simple example in REXX of using DECOLLECT to obtain the referred of a VSAM dataset.

Regards,
RAAM
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 20, 2007 3:27 pm
Reply with quote

DCOLLECT records are comprehensively discussed in the IBM IDCAMS (VSAM) manual which you can access using the manuals button at the top of this page.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top