IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SPACE parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sonal Jadhao

New User


Joined: 03 Apr 2008
Posts: 5
Location: Chennai

PostPosted: Mon Apr 14, 2008 7:12 pm
Reply with quote

Where do we mention about the number of members for each directory block mentioned in the SPACE parameter?
eg. SPACE=(TRK(10,20,5))

Here directory block is 5 , so how many members can it have? What is Default ?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Mon Apr 14, 2008 7:17 pm
Reply with quote

Sonal,
Quote:
Here directory block is 5 , so how many members can it have?

25
Quote:
What is Default ?

one directory block for 5 members...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 14, 2008 7:52 pm
Reply with quote

Quote:
one directory block for 5 members...


The correct answer is actually 6, the first block contains control information, so only allows for 5 members with ISPF stats on.

So with 5 DB's you will get 29 members with ISPF stats on.

It's a bit like the first track will only contain 44 directory blocks, while all subsequent tracks will contain 45.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Apr 14, 2008 8:07 pm
Reply with quote

a directory block is 256 bytes...
how many members will fit depends ...

each entry has the following layout

8 bytes for the member name
3 bytes for the TTR ( 2 bytes for the track 1 byte for the record ) offset
1 byte for flags and the length of the user data

for load dataset, I will have to look it up ( some load module related info is contained in the user data part of the directory entry)

for fb datasets the emtry size depends on the ispf statistics being there or not
each entry will be
12 bytes without statistics
42 bytes with statistics
the ispf statistics are 15 halfords, 30 bytes

so each directory block will contain ..
21 entries without statistics
6 entries with statistics

anything between for the mixed case...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
Search our Forums:

Back to Top