View previous topic :: View next topic |
Author |
Message |
Meg Beginner

Joined: 08 Jul 2003 Posts: 44 Topics: 16
|
Posted: Tue Mar 08, 2005 7:56 pm Post subject: VSAM files being purged after restore job. |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Mar 09, 2005 10:28 am Post subject: |
|
|
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 |
|
 |
Meg Beginner

Joined: 08 Jul 2003 Posts: 44 Topics: 16
|
Posted: Wed Mar 09, 2005 11:39 am Post subject: |
|
|
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 |
|
 |
Meg Beginner

Joined: 08 Jul 2003 Posts: 44 Topics: 16
|
Posted: Wed Mar 09, 2005 9:06 pm Post subject: |
|
|
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 |
|
 |
|
|