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: 8630
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: 8630
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 Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am

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