Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How many times secondary space allocated in VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Sat Jun 24, 2006 12:35 pm    Post subject: How many times secondary space allocated in VSAM
Reply with quote

How many times secondary space allocated in VSAM ?

please explain this concept
Back to top
View user's profile Send private message

SIVAMAIN

New User


Joined: 24 Jun 2006
Posts: 12

PostPosted: Sat Jun 24, 2006 7:59 pm    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Tue Jun 27, 2006 11:14 am    Post subject: Re: SECONDARY SPACE ALLOCATION
Reply with quote

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
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Jun 27, 2006 12:08 pm    Post subject: Re: SECONDARY SPACE ALLOCATION
Reply with quote

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
Back to top
View user's profile Send private message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Tue Jun 27, 2006 12:59 pm    Post subject:
Reply with quote

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?
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Jun 27, 2006 4:01 pm    Post subject: Re: SECONDARY SPACE ALLOCATION
Reply with quote

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
Back to top
View user's profile Send private message
navneet.dewangan

New User


Joined: 09 Oct 2005
Posts: 22
Location: INDIA

PostPosted: Wed Jul 12, 2006 8:39 am    Post subject: Re: SECONDARY SPACE ALLOCATION
Reply with quote

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 .
Back to top
View user's profile Send private message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Thu Jul 13, 2006 1:00 am    Post subject: SECONDARY SPACE ALLOCATION
Reply with quote

hi navneet ,
i have some information for u.
the size of control interval should be a multiple of 512 or 2048 bytes depending upon the type of catalog.
default cisz is calculated by VSAM.
but generally for sequential processing
CISZ is 8K(8192)
FOR RANDOM PROCESSING
CISZ is 4k(4096).
MAXIMUM RECORD SIZE IS 32767 BYTES.

ANY ONE CAN CORRECT ME IF IAM WRONG.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 1 Mon Sep 25, 2017 7:18 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 6 Thu May 18, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us