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
 

 

More than 16 extents possible for a PS file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Thu May 03, 2012 2:58 pm    Post subject: More than 16 extents possible for a PS file?
Reply with quote

I have read every where that max 16 extents are possible for a PS file. But I could see used extents :23 for a particular PS file in our system. Could any one please clarify?

attachment deleted!
no reason to waste 128 KBytes when a plain text cut and paste would just use 3 KBytes
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu May 03, 2012 3:09 pm    Post subject: Reply to: More than 16 extents possible for a PS file?
Reply with quote

Please don't post screenshots. Copy & paste from your emulator. Use the Code tags to format the output.

Do you see the + next to the volume? Means there is more than one volume, where you will find you other extents.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1771
Location: Bloomington, IL

PostPosted: Thu May 03, 2012 3:14 pm    Post subject:
Reply with quote

Please do not post screenshots, as they are wasteful of space; instead, copy and paste, enclosing the pasted information in Code tags.

Only sixteen extents (primary and 15 secondary) extents are permitted per volume. However, as the plus sign next to the volume serial number indicates, this data set extends over multiple volumes. A total of 59 volumes is allowed; thus a total of 59*16 = 944 extents may be realized.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu May 03, 2012 5:28 pm    Post subject:
Reply with quote

If a DSORG=PS dataset has an Extended Format Dataclas then it can have 123 extents per volume and spread across a maximum 59 volumes = 7257 extents theoretical maximum.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu May 03, 2012 5:58 pm    Post subject:
Reply with quote

ps: The example you show has LRECL=80,BLKSIZE=80 and is using 30,000 trks which is not very intelligent.

Suggest you reallocate the file ommitting BLKSIZE (or coding it as BLKSIZE=0) which results in an SDB (System Deteremined Blksize). You'll find the file should be much smaller after that.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Fri Jun 15, 2012 12:57 am    Post subject:
Reply with quote

DSNTYPE=LARGE format PS files can also have more than 16 extents, and can exceed the 65k tracks per volume limit like the Extended format datasets.

IBM recommend using these for SORTWK's.
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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 0 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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