Query regarding members in a dataset



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Query regarding members in a dataset

Postby deepadnair » Thu Nov 18, 2010 5:25 pm

How can i create PDS with properties such that it contains only five members?
deepadnair
 
Posts: 3
Joined: Thu Nov 18, 2010 5:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Query regarding members in a dataset

 

Re: Query regarding members in a dataset

Postby Akatsukami » Thu Nov 18, 2010 6:06 pm

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Query regarding members in a dataset

Postby steve-myers » Thu Nov 18, 2010 7:56 pm

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Query regarding members in a dataset

Postby dick scherrer » Fri Nov 19, 2010 12:27 am

Hello,

Why does someone believe a pds should be created with a limit of 5 (or some other number) members?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post