Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is the differation between Primary and secondy

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: What is the differation between Primary and secondy
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: 276
Location: Bang,iflex

PostPosted: Fri Nov 16, 2007 5:03 pm    Post subject:
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    Post subject:
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: 276
Location: Bang,iflex

PostPosted: Fri Nov 16, 2007 5:19 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Tue Nov 20, 2007 8:29 am    Post subject:
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    Post subject: Thanks you everbody
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SFTP to primary and secondary servers mallik4u JCL & VSAM 4 Tue Jun 07, 2016 12:52 pm
No new posts Count unique values in a column based... Deepakgoyal2005 JCL & VSAM 4 Fri Jul 25, 2014 5:49 pm
No new posts Skipping secondary record when primar... magesh23586 DFSORT/ICETOOL 8 Sat Dec 07, 2013 11:41 pm
No new posts XRC side effect On Primary site. Manshadi JCL & VSAM 2 Wed Feb 27, 2013 5:31 pm
No new posts how to know primary key in a table? NAARAAYANAN JCL & VSAM 4 Wed Sep 26, 2012 4:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us