View previous topic :: View next topic
|
Author |
Message |
jones.jebaraj84
New User
Joined: 26 Nov 2008 Posts: 10 Location: India
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can use the LMDLIST service. ZDLRDATE contains the last referenced date.
O. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
jones.jebaraj84
New User
Joined: 26 Nov 2008 Posts: 10 Location: India
|
|
|
|
thanks for your reply...
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Have you tried EXPAT's suggestion? |
|
Back to top |
|
|
|