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

Message "duplicate dataset name" when creating a n


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

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Fri Jan 20, 2006 8:13 pm
Reply with quote

I tried to set up a new dataset. I allocated a pds. But When I tried up its 10 members. I always got a message "duplicate dataset name". I set up PDS by intering 3.2.

What is the problems? Where do i have to set?
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Fri Jan 20, 2006 8:24 pm
Reply with quote

Hi

Please check follwoing paramters of your PDS.
Code:
[quote]Organization  . . . : PO[/quote]


Code:
Maximum dir. blocks : 400 


Regards
Rupesh
Back to top
View user's profile Send private message
pankajayee

New User


Joined: 20 Sep 2005
Posts: 26

PostPosted: Fri Jan 20, 2006 8:42 pm
Reply with quote

Hi,


Can you describe your problem more precisely?

Are you able to create atleast a single member?

-Pankaj
Back to top
View user's profile Send private message
MIMI
Warnings : 1

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Fri Jan 20, 2006 10:19 pm
Reply with quote

pankajayee wrote:
Hi,


Can you describe your problem more precisely?

Are you able to create atleast a single member?

-Pankaj



Thanks, Pankajayee:

I entered 3.2 on OS/390 to allocate a new dataset.
I put option "A", and put the dataset name like" mimi(dat1);
So, the first allocate is ok.
but when I tried to allocate "mimi(dat2)", it show " duplicate data set names"

Thank you very much

Mimi

Data Set Utility
Option ===>

A Allocate new data set C Catalog data set
R Rename entire data set U Uncatalog data set
D Delete entire data set S Short data set information
blank Data set information V VSAM Utilities

ISPF Library:
Project . . Enter "/" to select option
Group . . . / Confirm Data Set Delete
Type . . . .

Other Partitioned, Sequential or VSAM Data Set:
Data Set Name . . .
Volume Serial . . . (If not cataloged, required for option "C")

Data Set Password . . (If password protected)
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jan 22, 2006 9:50 am
Reply with quote

Hi MiMI,

When you specify the disp when you create a member after the PDS was allocated, you use disp=shr (or old) not new. The disp refers to the dataset not the member.
Back to top
View user's profile Send private message
LeonL

New User


Joined: 20 Jan 2006
Posts: 5

PostPosted: Sun Jan 22, 2006 6:45 pm
Reply with quote

Hi MiMi,

Use option 3.2 only to allocate an 'empty' PDS - so don't supply a member name.

Members are added with option 2 (Edit) by supplying the member name.

When you allocate your PDS you should have some idea about the number of members you're going to add, because this number you use to decide how many directory blocks are needed. Each directory block can hold approximately 22 members without ISPF status information or 12 members with status information (date created, date changed, number of lines, userid).

If you're using DFSMS you might want to create a PDS/E (DSNTYPE=LIBRARY). Then you don't have to bother about the number of members you're going to add.
It's also a good idea to use PDS/E when you're doing a lot of changes to your members, because an 'old-fashioned' PDS needs to be compressed from time to time. A PDS/E never needs to be compressed.

Hope this will help,
Regards,
Leon
Back to top
View user's profile Send private message
pankajayee

New User


Joined: 20 Sep 2005
Posts: 26

PostPosted: Mon Jan 23, 2006 8:16 pm
Reply with quote

Hi,
I agree with Leon.

Please follow him.

While creating the PDS through 3.2, create it as empty what is expected.

Thanx
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 Duplicate transid's declared using CEDA CICS 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
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
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
Search our Forums:

Back to Top