MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
mainframe78 Beginner Joined: 16 Jul 2004 Posts: 3 Topics: 1
Posted: Fri Jul 16, 2004 2:10 pm Post subject: Error allocating PDS
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
mainframe78 Beginner Joined: 16 Jul 2004 Posts: 3 Topics: 1
Posted: Fri Jul 16, 2004 2:21 pm Post subject:
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
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
Posted: Fri Jul 16, 2004 2:39 pm Post subject:
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
mainframe78 Beginner Joined: 16 Jul 2004 Posts: 3 Topics: 1
Posted: Fri Jul 16, 2004 2:44 pm Post subject:
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
slade Intermediate Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
Posted: Fri Jul 16, 2004 9:47 pm Post subject:
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
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