MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error allocating PDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mainframe78
Beginner


Joined: 16 Jul 2004
Posts: 3
Topics: 1

PostPosted: Fri Jul 16, 2004 2:10 pm    Post subject: Error allocating PDS Reply with quote

Hi,
I tried to create a PDS using LIKE command in JCL
and i got the error

SYS1 DD DSN=AKSDF72.USER.JCL,DISP=SHR
SYS2 DD DSN=AKSDF72.NEW,LIKE=AKSDF72.USER.JCL,
DISP=(NEW,CATLG,DELETE)DD

IGD17293I DATA SET L933672.NEW HAS
PARTITIONED ORGANIZATION AND IS NOT ELIGIBLE
TO BE A MULTI-VOLUME DATA SET, ALLOCATION FAILED

In TSO also, i tried using ALLOC DS(xxx) like(/) for the pds, it gave the same error.

Any idea, why is this ?

Thanks
Back to top
View user's profile Send private message
mainframe78
Beginner


Joined: 16 Jul 2004
Posts: 3
Topics: 1

PostPosted: Fri Jul 16, 2004 2:21 pm    Post subject: Reply with quote

Sorry the error message from joblog is

IGD17293I DATA SET AKSDF72.NEW HAS
PARTITIONED ORGANIZATION AND IS NOT ELIGIBLE
TO BE A MULTI-VOLUME DATA SET, ALLOCATION FAILED

I copied the wrong one ( only ds name change )
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Fri Jul 16, 2004 2:39 pm    Post subject: Reply with quote

Mainframe78,

Can't you run something like this?

Code:

//STEP0100  EXEC  PGM=IEFBR14                             
//*
//FILE01   DD  DSN=AKSDF72.NEW,                     
//             DISP=(NEW,CATLG,DELETE),                   
//             UNIT=SYSDA,                               
//             SPACE=(CYL,(X,Y,Z),RLSE),                 
//             DCB=(DSORG=PO,LRECL=80,RECFM=FB,BLKSIZE=0)
//*


Code:

X - Primary Allocation
Y - Secondary Allocation
Z - The no: of Directory Blocks
( a single directory block can have a max of 6 members)


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mainframe78
Beginner


Joined: 16 Jul 2004
Posts: 3
Topics: 1

PostPosted: Fri Jul 16, 2004 2:44 pm    Post subject: Reply with quote

i wanted to copy some existing datasets to my personal datasets, which are having different lrecl etc. so using a LIKE parm will make my job easier...
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Fri Jul 16, 2004 9:47 pm    Post subject: Reply with quote

Hi MF78,

Can you supply ds info for the file you're trying to imitate? E.g. dsorg, space, dcb, # of vols, etc.

You may want to consider giving up on "like" and use:
dcb=(AKSDF72.USER.JCL,dsorg=po) along w/the space and unit params.

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group