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 Profile Log in to check your private messages Log in
 
Unable to catalog a gdg dataset residing in multiple volumes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Unable to catalog a gdg dataset residing in multiple volumes
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: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 24, 2017 4:21 pm    Post subject:
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    Post subject: Reply to: Unable to catalog a gdg dataset residing in multiple volumes
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: 1868
Location: UK

PostPosted: Fri Mar 24, 2017 6:24 pm    Post subject:
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: 563
Location: The Universe

PostPosted: Fri Mar 24, 2017 9:20 pm    Post subject: Re: Reply to: Unable to catalog a gdg dataset residing in multiple volumes
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 User


Joined: 01 Sep 2015
Posts: 160
Location: Switzerland

PostPosted: Sat Mar 25, 2017 2:13 pm    Post subject:
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    Post subject: Reply to: Unable to catalog a gdg dataset residing in multiple volumes
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: 1868
Location: UK

PostPosted: Sun Mar 26, 2017 2:56 pm    Post subject:
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    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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 4 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

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