Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message

New User

Joined: 20 Jun 2006
Posts: 14

 Posted: Sat Jun 24, 2006 12:35 pm    Post subject: How many times secondary space allocated in VSAM How many times secondary space allocated in VSAM ? please explain this concept

SIVAMAIN

New User

Joined: 24 Jun 2006
Posts: 12

 Posted: Sat Jun 24, 2006 7:59 pm    Post subject: in vsam 123 extents are allocated for secondary space. example : tracks(5,5) means 5 tracks of primary, and 5 x 123 tracks of secondary space is allocated to the requested vsam dataset.

New User

Joined: 20 Jun 2006
Posts: 14

 Posted: Tue Jun 27, 2006 11:14 am    Post subject: Re: SECONDARY SPACE ALLOCATION thanks for ur reply but in one book i have seen that primary space allocated once and secondary space allocated 122 times.my doubt is if the space allocated in primary block is not sufficient then it will go to secondary space so what is ment by that 122 times ANY ONE CAN EXPLAIN YHIS FOR ME
Rupesh.Kothari

Member of the Month

Joined: 27 Apr 2005
Posts: 464

Posted: Tue Jun 27, 2006 12:08 pm    Post subject: Re: SECONDARY SPACE ALLOCATION

Hi,

 Quote: my doubt is if the space allocated in primary block is not sufficient then it will go to secondary space so what is ment by that 122 times

If prilmary space full then can allocate 122 times the secondary space. Lets take an example, suppose u allocate (5,5) cylinder as primary and secondary.
If your VSAM uses first 5 cylinder and wants some extra space then it allocate first 5 Cylinder from Secondaey ans check is it sufficient if not then againg allocate 5 cylinder. It can goes till 122 times.

Hope it is clear now.

Thanks & Regards
Rupesh
Husna

New User

Joined: 02 Jun 2006
Posts: 49

 Posted: Tue Jun 27, 2006 12:59 pm    Post subject: Rupesh, In VSAM... If we give CYL(5,5)..... It will take 615 CYL's ( 5+5*122) In JCL If we give CYL (5,5).... It will take 80 CYL's (5+5*15) Could you please let me know both are correct or not?
Rupesh.Kothari

Member of the Month

Joined: 27 Apr 2005
Posts: 464

 Posted: Tue Jun 27, 2006 4:01 pm    Post subject: Re: SECONDARY SPACE ALLOCATION Hi,' Yes u r right. I believe for VSAM we never use CYL(5,5) in JCL. We define it when we create it only. Correct me if I am wrong. Regards Rupesh
navneet.dewangan

New User

Joined: 09 Oct 2005
Posts: 22
Location: INDIA

 Posted: Wed Jul 12, 2006 8:39 am    Post subject: Re: SECONDARY SPACE ALLOCATION hello buddies in this disucssion can some one tell me about calculation of CISZ what will be the default parameter and where from the default parameters are taken.. i am not geting what will the control interval size . what will be the length of the lsots in rrds. can any one help me out .

New User

Joined: 20 Jun 2006
Posts: 14