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

primary space, secondary space


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

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Thu Sep 04, 2008 10:54 am
Reply with quote

I have a question related to allocation of primary space and secondary space...

Suppose

space=(CYLS(10,10),RLSE)

my question is if i need 12 cylinders of space, as against 10 allocated in primary, then it will take rest 2 from secondary.. What i want to know is what will happen to the remaining 8 in secondary...

Does full 10 of secondary is allocated or just 2 .
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Sep 04, 2008 10:57 am
Reply with quote

Hi,
it will release it.

the correct syntax is
Code:
SPACE=(CYL,(10,10),RLSE)


Gerry
Back to top
View user's profile Send private message
Sukhmeet Singh

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Thu Sep 04, 2008 11:03 am
Reply with quote

Thanks....

But now here is the question whose ans i m looking for..::

What is RLSE used for??
1. Release the extra space if not contiguously allocated.
2. Release the extra space allocated but not used for input file.
3. Release the extra space allocated but not used for output file.
4. Release the extra space if allocated and not used during primary allocation only.

I am confused b/w option 3 and 4.

Which one is the best option.???
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Sep 04, 2008 11:22 am
Reply with quote

Hi,

RLSE

requests that unused but allocated space be released when
the data set is closed and returned for use by other data
sets on the DASD volume.


Gerry
Back to top
View user's profile Send private message
Sukhmeet Singh

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Thu Sep 04, 2008 11:59 am
Reply with quote

Thanks for your response....

but my question is still unanswered....
which one is the best option.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Sep 04, 2008 12:09 pm
Reply with quote

Should this topic be moved to INTERVIEW QUESTIONS ?

Take a good look at the options available for the multi choice answer, then read Gerry's answer until you understand exactly what he has written, and then tell us your choice and the reasons behind that choice.

If you are wrong we will try to educate you further.
Back to top
View user's profile Send private message
Sukhmeet Singh

New User


Joined: 28 Dec 2007
Posts: 12
Location: kolkata

PostPosted: Thu Sep 04, 2008 6:12 pm
Reply with quote

thanks..
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Cobol prog to put an indicator on the... JCL & VSAM 1
Search our Forums:

Back to Top