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

Solution for ADR322E error


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

New User


Joined: 10 Oct 2007
Posts: 12
Location: India

PostPosted: Thu Feb 12, 2009 6:43 pm
Reply with quote

Hi,
I ran DFSMS dss Dump on particular volume and have seen many errors as below.

Error message:
0ADR322E (001)-FDSCO(01), DATA SET U.UAT.PPM065D$.R111.SORTOUT WAS NOT SELECTED DUE TO DUPLICATE NAME

I have to cleanup the volume by deleting all the datasets with above error.These datasets are not cataloged.
Please advise.

Thanks
Thara
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 12, 2009 7:02 pm
Reply with quote

Please post the control statements that you used and the output from the SYSPRINT showing the errors.
Back to top
View user's profile Send private message
Tharageshwari Marukkutti

New User


Joined: 10 Oct 2007
Posts: 12
Location: India

PostPosted: Thu Feb 12, 2009 7:51 pm
Reply with quote

I have used the below control card to extract the duplicate datasets in volumes.

Control card:
Code:
 DUMP DS(INCLUDE(-       
 U.**) -                 
 BY(CATLG,EQ,NO)) -     
 STORGRP(*******) -       --- > storage group name
 OUTDDNAME(OUTPUT1) -   
 DELETE -               
 PURGE -                 
 CANCELERROR             


Sysprint :
Code:
0ADR322E (001)-FDSCO(01), DATA SET U.KI.YTHISASF.R111.SORTOUT WAS NOT SELECTED DUE TO DUPLICATE NAME
0ADR322E (001)-FDSCO(01), DATA SET U.KI.YTHISASF.R010.HUGTEXT WAS NOT SELECTED DUE TO DUPLICATE NAME
0ADR322E (001)-FDSCO(01), DATA SET U.KI.YTHISASF.R020.SORTOF10 WAS NOT SELECTED DUE TO DUPLICATE NAME
0ADR322E (001)-FDSCO(01), DATA SET U.KI.YTHISASF.R140.CURPRE.MERGE WAS NOTSELECTED DUE TO DUPLICATE NAME
0ADR322E (001)-FDSCO(01), DATA SET U.KI.YTHISASF.R060.OTRNPURD WAS NOT SELECTED DUE TO DUPLICATE NAME
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 12, 2009 7:56 pm
Reply with quote

Looks like you have multiple occurences of the same dataset on numerous volumes.

Recall something similar, I just ran the same job again and again until all of the duplicates have been removed. Luckily I didn't need backups so used DD DUMMY for the output.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 12, 2009 8:03 pm
Reply with quote

the message is clear...
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M190/SPTM000186

You have quite a mess on Your sms managed volumes icon_biggrin.gif
having uncataloged dataset on sms controlled volumes is symptom of
bad habits

to overcome the issue You must cleanup one volume at the time
Back to top
View user's profile Send private message
Tharageshwari Marukkutti

New User


Joined: 10 Oct 2007
Posts: 12
Location: India

PostPosted: Fri Feb 13, 2009 7:36 pm
Reply with quote

I have seen the same message in quickref too... I would like to know on how the uncataloged datset could be deleted.


Please advise on process of removing those garbage out of volume.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 13, 2009 11:38 pm
Reply with quote

Hello,

Quote:
Please advise on process of removing those garbage out of volume.
The answer is given above. . .

Quote:
to overcome the issue You must cleanup one volume at the time
Quote:
I just ran the same job again and again until all of the duplicates have been removed
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Sat Feb 14, 2009 8:28 am
Reply with quote

If you ONLY have uncatalogued datasets on a volume, then the easiest way to get rid of them is to just re-initialise your disk. However this will also wipe out any catalogued datasets, so make sure your disk has no wanted files on it first.

Otherwise, if you have a tool like Catalog recovery plus or CIM, then they usually have utilities for cleaning up volumes

If not then I'm afraid it is a delete VVR for VSAM orphans and delete NVR for non-vsam, each dataset treated individually.

Good Luck!
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top