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

What is the differation between Primary and secondy


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raman.k

New User


Joined: 26 Feb 2007
Posts: 24
Location: chennai

PostPosted: Fri Nov 16, 2007 4:51 pm
Reply with quote

Hi

In Space paramater what is the differation between Primary space and secondry space.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Fri Nov 16, 2007 5:03 pm
Reply with quote

Hi,


Space parameter constitiutes 2 parts

1, primary
2.secondary

you have to provide this while creating the datasets, primary space indicates the primary space for the dataset to be loaded by programs or by data's

If the primary space is finished then comes, secondary space in to the picture, which gives extension of memory space to the already filled primary space, it gives space 15 times the number specified in the secondary space place.

Refer below.

Code:
SPACE=(TRKS(4,3)
OR
SPACE=(CYL(4,3)


1 Cylinder is equal to 15 times the Tracks
Back to top
View user's profile Send private message
revel

Active User


Joined: 05 Apr 2005
Posts: 135
Location: Bangalore/Chennai-INDIA

PostPosted: Fri Nov 16, 2007 5:15 pm
Reply with quote

Hi raguraman,

I acclaim what Vasanth said,

Consider a example

Code:
SPACE = (TRKS(4,3))


When you allocate a dataset with this attribute, initially 4 tracks will reserved for you(Data set), once the reserved space is complete then 3 tracks will reserved for u, it will goes up to 15 extent


Hope you clear
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Fri Nov 16, 2007 5:19 pm
Reply with quote

Hi Raghu,


Thank you for more info regarding this, i missed one right braces inmy previous post.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Nov 20, 2007 8:29 am
Reply with quote

Hi,
what has been mentioned is not strictly correct.

eg. SPACE=(TRK,(200,50))

Space allocation rules on DISK is as follows:-
Single volume allocation can have up to 16 extents but this does not mean that you will get Primary 200 trks in one extent and then 15 times Secondary allocation of 50 tracks which should be 950 tracks). The rules for extents are:-
Primary allocation can be in 5 extents and each of the secondary allocations can be in 5 extents too which means that in the worst case you would get::-

1 Primary allocation 200 tracks in 5 extents

2 Secondary allocation each in 5 extents = 100 tracks in 10 extents

Total 300 tracks in 15 extents

Gerry
Back to top
View user's profile Send private message
raman.k

New User


Joined: 26 Feb 2007
Posts: 24
Location: chennai

PostPosted: Thu Nov 22, 2007 7:12 pm
Reply with quote

Thanks for all responser
Thanks you very much
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 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
No new posts Can we Insert duplicates in Primary U... DB2 2
No new posts SFTP to primary and secondary servers JCL & VSAM 4
Search our Forums:

Back to Top