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

Max number of times of extents of Seq File and VSAM?


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

New User


Joined: 03 Oct 2006
Posts: 1

PostPosted: Tue Oct 03, 2006 5:53 pm
Reply with quote

anyone knows how many times does the maximum 16 extents on a sequential file can occur? how many extents does a vsam can have? how many times can a vsam be extended too? thanks...
Back to top
View user's profile Send private message
syntelraj
Warnings : 1

New User


Joined: 28 Jul 2006
Posts: 10
Location: Pune

PostPosted: Tue Oct 10, 2006 5:59 pm
Reply with quote

Hi,
A phisical sequential dataset can be extended 16 times. A VSAM file can be extended 123 times.

Cheers,
Mohan
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Wed Oct 11, 2006 7:20 am
Reply with quote

A sequential data set can have 16 extents on each volume.

An extended-format sequential data set can have 123 extents per volume.

A PDS can have 16 extents.

A direct data set can have 16 extents on each volume.

A non-system-managed VSAM data set can have up to 255 extents per
component. System-managed VSAM data sets can have this limit removed if the associated data class has extent constraint removal specified.

A striped VSAM data set that is not system-managed can have up to 255
extents per stripe. Striped VSAM data sets that are system-managed can
have this limit removed if the associated data class has extent constraint removal specified.

A PDSE can have 123 extents.

An HFS data set can have 123 extents on each volume
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Oct 12, 2006 7:28 am
Reply with quote

But keep in mind that an extent is not always equal to the primary or 2ndary values specified in the DD card for the dataset.

A primary alloc may take up to 5 extents to be satisfied. That will leave only 10 extents to satisfy your 2ndary allocs.

The 2ndary allocs may take up to 3 extents to satisfy each alloc. So that means you may get as little as 3 2ndary allocs.

The reason for this is that each alloc is attempted to be satisfied w/1 extent of contiguous DA space. If it can't, it takes what it can get contiguously then uses another extent for the remaining space, if it can't get enough contiguously, it tries again until it uses all the extents and ... well you get the idea.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top