query regarding space parameter



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

query regarding space parameter

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

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?
deepadnair
 
Posts: 3
Joined: Thu Nov 18, 2010 5:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: query regarding space parameter

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

Two blocks were unused and therefore released.
"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: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: query regarding space parameter

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

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

Re: query regarding space parameter

Postby steve-myers » Fri Nov 19, 2010 10:42 am

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

Re: query regarding space parameter

Postby deepadnair » Fri Nov 19, 2010 11:00 am

for allocating 100 blocks each of has 80 bytes what i can do?
deepadnair
 
Posts: 3
Joined: Thu Nov 18, 2010 5:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: query regarding space parameter

Postby steve-myers » Fri Nov 19, 2010 11:14 am

See the JCL manual. It will tell you everything you ever want to know!
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: query regarding space parameter

Postby enrico-sorichetti » Fri Nov 19, 2010 7:53 pm

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 !
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post