query regarding space parameter



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

query regarding space parameter

Postby bineesh » Thu Nov 18, 2010 5:27 pm

hi,
i had given SPACE=(100,(80,20,RLSE) .But in allocated blocks ,it is given as 78.I wnt to know why this is coming so.
waiting for your favourable response.

regards,
Bineesh
bineesh
 
Posts: 5
Joined: Mon Nov 15, 2010 1:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: query regarding space parameter

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

Space is allocated in track units; you cannot allocate less than that. When you specify SPACE=(100,80) z/OS calculates the number of tracks required to hold 80 100 byte records; this works out to 2 tracks. Your program actually wrote less data than that, just 1 track, so z/OS released the 2nd track, as specified in your SPACE parameter. When ISPF displays the space, it calculates the number of 100 byte records that will fit in 1 track and displays 78.
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 bineesh » Fri Nov 19, 2010 10:59 am

hi
Thanks for your information.But it will be better if you elaborate more on this.
regards,
Bineesh
bineesh
 
Posts: 5
Joined: Mon Nov 15, 2010 1:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: query regarding space parameter

Postby bineesh » Fri Nov 19, 2010 11:06 am

Hi,

SPACE=(100,(80,10),RLSE) means

8kb of pri space and 15kb of sec space (15 extents). As space can be requested in terms of blocks as numbers, the pri quantity will be measured in bytes.

But 1 track is 56.6kb.

Kindly let me more clear about the track subparameter in this case.

regards,
Bineesh.
bineesh
 
Posts: 5
Joined: Mon Nov 15, 2010 1:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: query regarding space parameter

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

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


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post