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 Usergroups Profile Log in to check your private messages Log in
 

 

Solution for ADR322E error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Solution for ADR322E error
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 12, 2009 7:02 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 12, 2009 7:56 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Thu Feb 12, 2009 8:03 pm    Post subject: Reply to: Solution for ADR322E error
Reply with quote

the message is clear...
http://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    Post subject: Reply to: Solution for ADR322E error
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

Site Director


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

PostPosted: Fri Feb 13, 2009 11:38 pm    Post subject:
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: 788
Location: Chennai, India

PostPosted: Sat Feb 14, 2009 8:28 am    Post subject:
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    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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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