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
 

 

Message "duplicate dataset name" when creating a n

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Message "duplicate dataset name" when creating a n
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: 464

PostPosted: Fri Jan 20, 2006 8:24 pm    Post subject: Re: ALLOCATE PDS AND MEMBERS
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    Post subject:
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    Post subject: Thank you very much
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    Post subject:
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    Post subject:
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    Post subject:
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    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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm


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