Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To find the date of creation.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: To find the date of creation.
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    Post subject: Re: To find the date of creation.
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: 464

PostPosted: Tue Feb 28, 2006 9:27 am    Post subject: Re: To find the date of creation.
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    Post subject:
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: 464

PostPosted: Tue Feb 28, 2006 10:31 am    Post subject: Re: To find the date of creation.
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM 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 add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us