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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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