IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To find the date of creation.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
veeruspi

New User


Joined: 29 Dec 2005
Posts: 16
Location: mysore

PostPosted: Mon Feb 27, 2006 6:55 pm
Reply with quote

hi all,
how can i find out the actual date of creation of a file recovered through HRECOVER?
suppose in HRECOVER<file name>new name<new file name>
if i check for the date of creation of new file name , it shows todays date.
i want to know the atual date of creation of that file.

thanks in advance.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Mon Feb 27, 2006 11:41 pm
Reply with quote

veeruspi,

I think the current date on the new-name recovered dataset is right. It was created today.

You can use the TSO command below to find out what the creation date of the migrated dataset is. Try this and let me know if it works for you. I tried on my system and it gave me the corrcet creation date.

Code:

TSO LISTC ENT('YOUR.MIGRATED.DATASET') ALL


Dave
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Feb 28, 2006 9:27 am
Reply with quote

HI,

Quote:
how can i find out the actual date of creation of a file recovered through HRECOVER?
suppose in HRECOVER<file name>new name<new file name>
if i check for the date of creation of new file name , it shows todays date.
i want to know the atual date of creation of that file.


You can use HLIST commacne. It give you thebackup date ans its only creation date.

Code:
hlist dsn(Daraset name;) bcds 


Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
veeruspi

New User


Joined: 29 Dec 2005
Posts: 16
Location: mysore

PostPosted: Tue Feb 28, 2006 10:24 am
Reply with quote

hi dave,
my requirement was to recover the files for dsn S0PSCM.NA.XSCM8202.CSTM.REPT. upto jan 16.My latest migrated gdg was S0PSCM.NA.XSCM8202.CSTM.REPT.G0924V00. If i recover through HRECOVER the previous ie.S0PSCM.NA.XSCM8202.CSTM.REPT.G0923V00
and given the new name as S0TSCM.NA.XSCM8202.CSTM.REPT.G0923.
I get the creation date of the new file as today,s. what i need is when was
S0PSCM.NA.XSCM8202.CSTM.REPT.G0923V00 created?
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Feb 28, 2006 10:31 am
Reply with quote

HI,

Just use HLISt command like


Code:
hlist dsn('S0PSCM.NA.XSCM8202.CSTM.REPT.G0923V00') bcds


It will give u result as similar to

Code:
BACKDATE=06/01/29


Hope its clear now.

Regards.

Rupesh
Back to top
View user's profile Send private message
veeruspi

New User


Joined: 29 Dec 2005
Posts: 16
Location: mysore

PostPosted: Wed Mar 01, 2006 10:16 am
Reply with quote

hi rupesh,
thank you
Back to top
View user's profile Send private message
mf_user
Currently Banned

New User


Joined: 05 Jan 2006
Posts: 47

PostPosted: Fri Mar 10, 2006 12:35 pm
Reply with quote

Hi Rupesh,

Is it true that everyday the system admin takes the backup of entire datasets used by a system? If so, suppose, if I create a dataset called "xxx.xxx.xxx" and after sometime it is lost, is it possible to pull it back on to DASD using the details of where it was backed up?

Please let me know.

Thanks.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
Search our Forums:

Back to Top