View previous topic :: View next topic
|
Author |
Message |
Shovan
New User
Joined: 24 Mar 2017 Posts: 3 Location: India
|
|
|
|
Hi,
One of our gdg data set was deleted by a job which was resides in tape spanned across multiple volumes, Tape has not been scratched yet ,we have the data intact .
This data set has to be cataloged in the volumes in which it was residing.
when cataloged it has cataloged in only one volume, tried an IDCAMS ALTER with ADDVOLUMES .
But it gives the below error
IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 48 - REASON CODE IS IGG0CLE8-6
IDC0532I **ENTRY FEFE.BZS01000.SMFDAILY.G0649V00 NOT ALTERED .
Please suggest if there is any other option. |
|
Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
How did you catalog it? |
|
Back to top |
|
 |
Shovan
New User
Joined: 24 Mar 2017 Posts: 3 Location: India
|
|
|
|
Hi Rob,
It was cataloged using the tso command
define nonvsam('name('dataset name ') devicetypes('XXX') volumes('vol1,vol2,vol3') recatalog)
where in it has picked only vol1
Thanks,
Shovan |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Robert's name is Robert not Rob. Be polite, please. |
|
Back to top |
|
 |
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
Shovan wrote: |
Hi Rob,
It was cataloged using the tso command
define nonvsam('name('dataset name ') devicetypes('XXX') volumes('vol1,vol2,vol3') recatalog)
where in it has picked only vol1
Thanks,
Shovan |
- What does LISTCAT VOL ENTRIES('...') say?
- Do you know for a fact the data set actually exists on vol1, vol2 and vol3? Just because the JCL allegedly used to create the data set says this do not believe it. You need to examine the job output of the job that allegedly created the data set. Check the messages in both the JESMSGLG and JESYSMSG data sets. If this is unavailable check the tape management system catalog for the volume status of the three volumes.
- How do know it only mounts vol1? I am saying here there is a very good chance the data set exists only on vol1, despite what the catalog and JCL say.
|
|
Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 743 Location: Denmark
|
|
|
|
Is that devicetype 'XXX' really valid at your site? And 'recatalog' is only for disk datasets. I too would like to see a listcat.
I suggest that from now on you run all the deletes and defines in batch jobs, so that you have an audit trial. |
|
Back to top |
|
 |
Shovan
New User
Joined: 24 Mar 2017 Posts: 3 Location: India
|
|
|
|
Apologize for that Robert.
Problem is solved , I did a uncatalog and ran the idcams utility. Ran the below job
Just an example - actual names are different ( dataset ,volsers..)
DEFINE NONVSAM ( -
NAME(TESTER.A.GDG.G0021V00) -
DEVICETYPES(3590-1 3590-1 3590-1 ... ) -
VOLUMES(M00001 M00002 M00003 ... ) -
)
@Steve Myers - I had the list of volumes in which it was residing as I Could see them in ca1 tape management .
@Willy Jensen - XXXX was just an generic statement which I stated to give an example , Had used 3490 since it was on tape and as you said Recatlog is only for disk this was something which was causing the issue .
And the LISTCAT entry was showing one volume .the first volume in which the data set was residing .
Thanks everyone for your responses.
Shovan |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Thank you for letting us know why the problem occurred and the solution. |
|
Back to top |
|
 |
|