MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VSAM files being purged after restore job.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Meg
Beginner


Joined: 08 Jul 2003
Posts: 44
Topics: 16

PostPosted: Tue Mar 08, 2005 7:56 pm    Post subject: VSAM files being purged after restore job. Reply with quote

Hi,
We have a JCL which splits a file and copies it to a VSAM file. The last step in the job is to take a backup of the compressed VSAM file to GDG file.

This job was run 2 years back. But now we are restoring the VSAM file from the contents of the GDG. But we see that as soon as the restore job is run the VSAM file is deleted. Hence we are assuming that the VSAM file is getting deleted since the reference date is the date in which it is created and the system does not retain very old datasets.

I would like to know if our assumption is correct and any way we could avoid this problem of purging the datsaets.

Thanks,
Meg
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Mar 09, 2005 10:28 am    Post subject: Reply with quote

Meg,

What is the disp parameter coded on the vsam file? Make sure that it is not coded as (old,delete,keep)

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Meg
Beginner


Joined: 08 Jul 2003
Posts: 44
Topics: 16

PostPosted: Wed Mar 09, 2005 11:39 am    Post subject: Reply with quote

Hi Kolusu,
Actually the VSAM file is deleted after the ADRDSSU utility is run to restore the file from the backup. But this situation does not arise for all the VSAM file that were created some timeback. THe storage management guys told us that if the VSAM file is read before the HSM deletes the file, the VSAM file stays. I am not making much sense out of this. Also we have to fix this problem.
Thanks,
Megana
Back to top
View user's profile Send private message
Meg
Beginner


Joined: 08 Jul 2003
Posts: 44
Topics: 16

PostPosted: Wed Mar 09, 2005 9:06 pm    Post subject: Reply with quote

Hi Ravi,
We do not have delete or purge paramter in our parm.

Does this mean the ADRDSSU utility actually send a request to the HSM to delete the VSAM file if it is more than in our case 400 days old. And we can cance such a request if we had admin rights.
In our case, the VSAM file stays for a while but sometimes, before the next job uses this VSAM file, this file is deleted.

We see that when the file is restored, the referenced date becomes the the same date as the creation date. So we have planned to include a VERIFY step which actually changes the reference date to today's date.

THanks,
Megana
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group