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 

maximum no. members in a PDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Mar 30, 2005 3:22 am    Post subject: maximum no. members in a PDS Reply with quote

Hi All,

I had a question of which I know the answer but one of my friend is saying the answer is wrong.The question was :
What will be the maximum no. of members we can create for a PDS having Space Units - TRKS, Primary quantity 100 , Secondary quantity 50 and Directory blocks 60

a) 359
b) 259
c) 459
d) it depends on some other factor not listed above
e) there is no limit

According to me the answer should be 359 as the relation between no. of directory blocks and maximum no. of members in a PDS is (6*no. of directory blocks)-1.

He has changed some other parameter while allocating a PDS and is able to make max 21 members when no. of directory blocks is given 1 which according to me should be (6*1)-1. i.e 5.

Can anyone clarify.

Thanks,
PM
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Mar 30, 2005 5:33 am    Post subject: Reply with quote

Preety,

Your algorithm is correct for something like an ISPF source library, because of the ISPF statistics that are held in the directory. Make a copy of one of your libraries, then delete the statistics using ISPF option 3.5. If you then check out the dataset information using option 3.2, you will find a large difference in the directory block usage.

Load libraries have a whole load of other stuff in their directories, too.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Mar 30, 2005 5:49 am    Post subject: Reply with quote

Hi,

I am not able to get what you have explained.
Colud you please elaborate more. Also please let me know which is the other parameter other than directory blocks on which it depends.

Thanks,
PM
Back to top
View user's profile Send private message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Mar 30, 2005 6:32 am    Post subject: Reply with quote

Hi,

I have received the solution.
After allocating a PDS if we write "Stats off" in the command line in edit session of any 1 member it allows more members to be created.

Thanks,
PM
Back to top
View user's profile Send private message
chandra
Beginner


Joined: 26 Sep 2003
Posts: 130
Topics: 36

PostPosted: Wed Mar 30, 2005 6:37 am    Post subject: Reply with quote

Preety,

The number of member entries that fit in a directory block is as follows:

1) For a data set with ISPF statistics: 6 entries per block.
2) For a data set without ISPF statistics: 21 entries per block.
3) For a load module data set: 4 to 7 entries depending upon
attributes.
_________________
Regards,
Chandra
Back to top
View user's profile Send private message
Preety
Beginner


Joined: 15 Mar 2005
Posts: 23
Topics: 12

PostPosted: Wed Mar 30, 2005 6:50 am    Post subject: Reply with quote

Thanks Mervyn and Chandra.
It's quite interesting. Could you please let me know in case of load module what are the other attributes?

Regards,
PM
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Mar 30, 2005 7:20 am    Post subject: Reply with quote

Preety,

Check this link which explains the PDS and it structure in detail.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1D404/3.8?DT=19970513135934

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
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Mar 30, 2005 9:59 am    Post subject: Reply with quote

Preety,

I couldn't find a manual showing the structure of a PDS directory for a load library. This is part of the tutorial for File-Aid option 3.1, which will give you an idea of what is contained:

Code:

File-AID -------------- LIBRARY UTILITY - I OPTION ------------------- TUTORIAL
COMMAND ===>                                                                   
                                                                               
                      PDS DIRECTORY DISPLAY (OPTION I)                         
                                                                               
  The File-AID directory display lists the Directory entry of a selected       
  module in a readable form.  At the top, the Library name and Member name     
  are listed, along with the TTR of the member.  Next is a hex display list   
  of the Directory entry followed by the segment status information (SSI),     
  if present.                                                                 
                                                                               
  For load libraries (RECFM=U), the bottom half of the screen will display     
  the entry point of the module along with its size in hexadecimal and         
  decimal.  Finally, the linkage editor attributes of the module are listed.   
  If Disposition is OLD for the PDS, some attributes are modifiable.           
  Attributes displayed and their meanings are:                                 
                                                                               
     RENT .............. whether or not the module is reentrant               
     REUS .............. whether or not the module is reusable                 
     REFR .............. whether or not the module is refreshable             
     OL ................ whether or not the module is only loadable           
     EXEC .............. whether or not the module is executable   
     RMODE ............. the residency mode the module was linked with         
                         (24-bit or any)                                       
     AMODE ............. the addressing mode the module was linked with       
                         (24-bit, 31-bit or any)                               
     OVLY .............. whether or not the module is overlay                 
     DC ................ whether or not the module is downward compatible     
     EP ZERO ........... whether or not the module has entry point zero.       
     TEST .............. whether or not the module was linked with 'test'     
     RLD ............... whether or not the module contains RLD items.         
     PAGE ALIGN ........ whether or not page alignment is required             
                         with previous versions of the linkage editor.         
     SCTR .............. whether or not the module was linked in scatter mode.
     NE ................ whether or not the module is editable.               
     ZERO ORIGIN ....... whether or not the origin of the first block         
                         of text is zero (assigned by the linkage editor).     
     TEST SYMBOLS ...... whether or not the module contains testran symbols.   
     1 BLOCK/NO RLD .... whether or not the module contains just 1 block       
                         of text with no RLD items.                           
     APF CODE .......... the authorization level assigned at link time.       
                                                                           
  On the FUJITSU operating system, load libraries (RECFM=U) which have     
  been linked using the F4 linkage editor may cause additional linkage     
  editor attributes of the module to be listed.  Those attributes and       
  their meanings are:                                                       
                                                                           
     EXTENDED .......... whether or not the module was linked with address 
                           extension (YES = EXTENDED, NO = BASIC)           
     SECTION ........... the addressing mode the module was linked with     
                           (24-bit, 31-bit or any)                         
     DYNAMIC ........... whether or not the module was linked with the     
                           dynamic linkage structure                       
                                                                     


_________________
The day you stop learning the dinosaur becomes extinct
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 -> TSO and ISPF 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