Page 1 of 1

Query regarding members in a dataset

PostPosted: Thu Nov 18, 2010 5:25 pm
by deepadnair
How can i create PDS with properties such that it contains only five members?

Re: Query regarding members in a dataset

PostPosted: Thu Nov 18, 2010 6:06 pm
by Akatsukami
deepadnair wrote:How can i create PDS with properties such that it contains only five members?

You can't, really. You can create it with a certain number of directory blocks, but how many directory entries will fit in a block will depends on how a member is created.

Re: Query regarding members in a dataset

PostPosted: Thu Nov 18, 2010 7:56 pm
by steve-myers
You can't specify a maximum number of members directly, but there are two methods to limit the number of members.
  • Number of directory blocks. With one directory block you can get 5 members saved with ISPF directory statistics. Each additional directory block can get 6 additional members. Directory entries for load modules are variable in length, but I think with 1 block you can get 6 minimum length load module directory entries.
  • Total space. Since a member is variable in length, I can't offer any guidance here, but if you allocate a small space, you can't get many members.

Re: Query regarding members in a dataset

PostPosted: Fri Nov 19, 2010 12:27 am
by dick scherrer
Hello,

Why does someone believe a pds should be created with a limit of 5 (or some other number) members?