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

Unable to catalog a gdg dataset residing in multiple volumes


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

New User


Joined: 24 Mar 2017
Posts: 3
Location: India

PostPosted: Fri Mar 24, 2017 2:24 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 24, 2017 4:21 pm
Reply with quote

How did you catalog it?
Back to top
View user's profile Send private message
Shovan

New User


Joined: 24 Mar 2017
Posts: 3
Location: India

PostPosted: Fri Mar 24, 2017 5:41 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Mar 24, 2017 6:24 pm
Reply with quote

Robert's name is Robert not Rob. Be polite, please.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Fri Mar 24, 2017 9:20 pm
Reply with quote

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
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Sat Mar 25, 2017 2:13 pm
Reply with quote

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
View user's profile Send private message
Shovan

New User


Joined: 24 Mar 2017
Posts: 3
Location: India

PostPosted: Sat Mar 25, 2017 6:15 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun Mar 26, 2017 2:56 pm
Reply with quote

Thank you for letting us know why the problem occurred and the solution.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top