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

Newbie Stuck on "Duplicate Dataset Name"


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Travis Byzewski

New User


Joined: 03 Apr 2023
Posts: 3
Location: USA

PostPosted: Mon Apr 03, 2023 4:04 am
Reply with quote

i keep getting this message on my IBM z/OS Boot Camp, I deleted the old datasets and made new ones, but I'm lost on how this is a duplicate, the IBM help section chat doesn't have anyone at the helm right now so I thought I'd try here.

I would really appreciate some help, I don't have much time left with the mainframe and could use some direction.

I did a search and found someone with the same issue, but none of those solutions worked for me. ibmmainframes.com/about41758.html

I'm still trying to wrap my head around a lot of this and usually I just look at it until I figure it out, but I've been stuck on this for too long and could use some help.

Thanks icon_smile.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2540
Location: Silicon Valley

PostPosted: Mon Apr 03, 2023 5:29 am
Reply with quote

It seems like there are two different problems:

1. duplicate data set exists
2. data set already cataloged

You probably issued some ALLOCATE commands that worked earlier. You need to clean up the old. Various ideas come to mind:

1. Use LISTCAT command to verify that the catalog thinks it is on volume SMS262.
2. If not the right volume, use DELETE ... NOSCR to remove catalog entry
3. Use ISPF 3.4 and specify SMS262 for volume. use DEFINE NONVSAM command to create a matching catalog entry.

Then you can DELETE and try your ALLOCATE commands again.

You will have to look at command syntax for complete parameters.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2540
Location: Silicon Valley

PostPosted: Mon Apr 03, 2023 5:33 am
Reply with quote

fyi, you can search internet for:

igd17001i site:ibm.com
igd17101i site:ibm.com

which are the messages shown in your screen capture.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1205
Location: Bamberg, Germany

PostPosted: Mon Apr 03, 2023 10:39 am
Reply with quote

To clean up the mess you should..

a) Check if your user has an ALIAS defined
b) DEL 'dsn' PRG /* delete catalog entry */
c) DEF NVSAM(NAME('dsn') VOL(SMS262) DEVT(3390) RCTLG) /* recatalog what's on SMS262 */
d) see b)
Back to top
View user's profile Send private message
Travis Byzewski

New User


Joined: 03 Apr 2023
Posts: 3
Location: USA

PostPosted: Mon Apr 03, 2023 12:56 pm
Reply with quote

Pedro wrote:
fyi, you can search internet for:

igd17001i site:ibm.com
igd17101i site:ibm.com

which are the messages shown in your screen capture.


ALLOCATE Thank You!('Pedro') icon_smile.gif
Back to top
View user's profile Send private message
Travis Byzewski

New User


Joined: 03 Apr 2023
Posts: 3
Location: USA

PostPosted: Mon Apr 03, 2023 12:58 pm
Reply with quote

Joerg.Findeisen wrote:
To clean up the mess you should..

a) Check if your user has an ALIAS defined
b) DEL 'dsn' PRG /* delete catalog entry */
c) DEF NVSAM(NAME('dsn') VOL(SMS262) DEVT(3390) RCTLG) /* recatalog what's on SMS262 */
d) see b)


Thats great, thanks for the help! icon_smile.gif
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Duplicate transid's declared using CEDA CICS 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top