View previous topic :: View next topic |
Author |
Message |
deadlycoder Beginner
Joined: 25 May 2006 Posts: 24 Topics: 11
|
Posted: Mon Aug 14, 2006 1:47 am Post subject: No space in directory |
|
|
Hi all,
I was trying to move certain members in my PDS. I was not able to move last 2 out of 8.
When I saw the destination PDS information it showed that out of 2 allocated cylinders only 1 was used with 1 extent. But then also there was a space constraint.
I don't know why..
Can anyone let me know why this is happening? _________________ 'Achievement is almost automatic when the goal becomes an inner commitment' |
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Mon Aug 14, 2006 3:41 am Post subject: |
|
|
How many directory block are there? How many members already in the PDS?
O.
________
website host
Last edited by ofer71 on Sat Feb 05, 2011 11:40 am; edited 1 time in total |
|
Back to top |
|
|
deadlycoder Beginner
Joined: 25 May 2006 Posts: 24 Topics: 11
|
Posted: Mon Aug 14, 2006 4:01 am Post subject: |
|
|
Hi,
The LRECL is 80 and BLKSIZE is 27920.
There are four members having a total size of 723.
Only 1 cylinder is being utilized. 2 were allocated. I feel as there is a lot of space still there how is it not allowing to accomodate the other 2 members having a total size of 229.
I even compressed the PDS. _________________ 'Achievement is almost automatic when the goal becomes an inner commitment' |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Mon Aug 14, 2006 4:36 am Post subject: |
|
|
deadlycoder,
It does not matter how much SPACE you have , you are running short of Directory Blocks. Each directory block can have a max of 5 to 6 members. It seems that you allocated your PDS with just 1 directory block. You need more than that.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
deadlycoder Beginner
Joined: 25 May 2006 Posts: 24 Topics: 11
|
Posted: Mon Aug 14, 2006 5:09 am Post subject: |
|
|
Thanks Kolusu,
That was the correct solution. _________________ 'Achievement is almost automatic when the goal becomes an inner commitment' |
|
Back to top |
|
|
vivek1983 Intermediate
Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Tue Aug 22, 2006 5:52 am Post subject: |
|
|
deadlycoder,
Try to compress the target PDS by giving "z" against it when viewing the PDS thru 3.4 ISPF panel.
Vivek.G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
|
vivek1983 Intermediate
Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Tue Aug 22, 2006 5:56 am Post subject: |
|
|
Can someone explain what actually happens when compressing a PDS? Does the directory blocks gets increased?
Regards,
Vivek.G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
|
anbesivam Beginner
Joined: 09 Aug 2006 Posts: 66 Topics: 14
|
Posted: Tue Aug 22, 2006 7:15 am Post subject: |
|
|
Hi vivek1983,
The COMPRESS command compresses partitioned data sets on a specified volume. Compressing (degassing) removes unused space between members in a partitioned data set. Depending on the filtering criteria you specify, you can compress either all or some of the partitioned data sets. This command is useful for compressing system partitioned data sets before you apply maintenance (thus avoiding certain space-related abends).
Note: You must not compress the data sets that contain DFSMSdss or IEBCOPY executable code.
The actual PDS compression is done on the existing volume using the IEBCOPY utility. To prevent loss of data if the system or IEBCOPY
abnormally ends during the processing, back up volumes or data sets that meet the filtering criteria before using the COMPRESS Command.
The COMPRESS command cannot process partitioned data sets that:
o Are unmovable
o Have no directory
Hope this info helps you. |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Tue Aug 22, 2006 9:21 am Post subject: |
|
|
vivek1983 wrote: | Does the directory blocks gets increased?
Regards,
Vivek.G |
No, a compress does not help a full directory. It only reclaims dead space in the data portion of the PDS. To help the directory, turn off ISPF stats, allocate more directory blocks, or convert to PDSe. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
issac1029 Intermediate
Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Wed Aug 23, 2006 4:31 am Post subject: |
|
|
Hi Dennis,
'convert to PDSe' means delete pds and define a pdse? or there is a way to convert? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Aug 23, 2006 7:48 am Post subject: |
|
|
issac1029 wrote: | Hi Dennis,
'convert to PDSe' means delete pds and define a pdse? or there is a way to convert? |
You can convert to PDSE using ADRDSSU. Try this job
Code: |
//STEP0100 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY -
DATASET( -
INCLUDE(your.pds.to.be.converted)) /* COPY MY PDS DATA SET */ -
REBLOCK(**) /* REBLOCKING IS WANTED */ -
CANCELERROR /* NO PER READ ERRORS */ -
CATALOG /* CATALOG NEW DATA SET */ -
DELETE PURGE /* DELETE UNEXPIRED DS */ -
TGTALLOC(CYL) /* ALLOC TARGET IN CYLS */ -
CONVERT(PDSE(**)) /* CONVERT PDS TO PDSE */ -
WAIT(10,10) /* 10 SEC <-> RETRIES */
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Aug 23, 2006 8:32 am Post subject: |
|
|
A PDSe requires a new dataset allocation as DSNTYPE=LIBRARY. An existing PDS cannot be transformed "in place".
I don't have DFDSS, but I'd imagine that the result of kolusu's example is a new dataset. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Aug 23, 2006 8:48 am Post subject: |
|
|
Bill Dennis wrote: | A PDSe requires a new dataset allocation as DSNTYPE=LIBRARY. An existing PDS cannot be transformed "in place".
I don't have DFDSS, but I'd imagine that the result of kolusu's example is a new dataset. |
Bill,
No the existing PDS is converted to PDSE
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Aug 23, 2006 2:54 pm Post subject: |
|
|
You're telling me that when you run this against a PDS, a new dataset isn't allocated? The COPY, TGTALLOC and CATALOG parameters sure sound you're creating a new dataset! _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Aug 23, 2006 7:37 pm Post subject: |
|
|
Quote: |
You're telling me that when you run this against a PDS, a new dataset isn't allocated? The COPY, TGTALLOC and CATALOG parameters sure sound you're creating a new dataset!
|
DFDSS re-allocates the same dataset on a different volume converting the PDS to PDSE.
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|