Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us