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
 
How to find the Last reference date in migrated PS... REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
jones.jebaraj84

New User


Joined: 26 Nov 2008
Posts: 10
Location: India

PostPosted: Thu Nov 27, 2008 11:37 am    Post subject: How to find the Last reference date in migrated PS... REXX
Reply with quote

I need a help in REXX...!

My requirement:

I wanted to find out the Last referenced date of a migrated PS without pulling it to DASD by HRECALL.

The Last referenced date of Any dataset in DASD could be found using the LISTDSI function. Also LISTCAT gives information about the created date but not the Last referenced date.

The TSO command HLIST gives the last referenced date even for a migrated dataset but OUTTRAP doesnot capture this output.


Is there any other function like OUTTRAP which could perform this activity?
Is there any other way of achieving this requirement in REXX?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Nov 27, 2008 12:02 pm    Post subject:
Reply with quote

You can use the LMDLIST service. ZDLRDATE contains the last referenced date.

O.
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: Thu Nov 27, 2008 12:12 pm    Post subject:
Reply with quote

Look at the HLIST statement and investigate ODS to write your output to a dataset.

Should also be available in DCOLLECT records.
Back to top
View user's profile Send private message
jones.jebaraj84

New User


Joined: 26 Nov 2008
Posts: 10
Location: India

PostPosted: Wed Dec 03, 2008 1:42 pm    Post subject:
Reply with quote

thanks for your reply... icon_smile.gif

I tried out the LMDLIST but i have the same problem there... It works only when the dataset in the DASD.. My requirement is i want to check the Last referenced date when the dataset is in migrated status...
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Wed Dec 03, 2008 10:14 pm    Post subject: Reply to: How to find the Last reference date in migrated PS
Reply with quote

Have you tried EXPAT's suggestion?
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 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

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