Page 1 of 1

query regarding space parameter

PostPosted: Thu Nov 18, 2010 5:22 pm
by deepadnair
I have typed the statement SPACE=(100,(80,10),RLSE), but in the properties of the dataset only 78 blocks are allocated. why is this so?

Re: query regarding space parameter

PostPosted: Thu Nov 18, 2010 6:03 pm
by Akatsukami
Two blocks were unused and therefore released.

Re: query regarding space parameter

PostPosted: Thu Nov 18, 2010 8:18 pm
by steve-myers
Space is always allocated in track units. Your SPACE directed the system to allocate enough space for 100 80 byte records, which works out to 2 3390 tracks. You actually used less than 2 tracks, so the last track was released. One track can hold 78 80 byte records, which is why ISPF reports 78 blocks.

Re: query regarding space parameter

PostPosted: Fri Nov 19, 2010 10:42 am
by steve-myers
Sorry, I meant to say 80 100 byte records; it's still 2 3390 tracks. You actually used 1 track, which is the equivalent of 78 100 byte records, which is what ISPF reported.

Re: query regarding space parameter

PostPosted: Fri Nov 19, 2010 11:00 am
by deepadnair
for allocating 100 blocks each of has 80 bytes what i can do?

Re: query regarding space parameter

PostPosted: Fri Nov 19, 2010 11:14 am
by steve-myers
See the JCL manual. It will tell you everything you ever want to know!

Re: query regarding space parameter

PostPosted: Fri Nov 19, 2010 7:53 pm
by enrico-sorichetti
duplicate concept :D
I just wonder why this topic is exactly the same as
jcl/topic4698.html

and we are wasting time answering both of them !