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
 

 

Obtaining Date created and date referenced using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Obtaining Date created and date referenced using REXX
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 15, 2007 7:42 pm    Post subject:
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    Post subject: Obtaining Date created and date referenced using REXX
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 20, 2007 3:27 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am


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