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: 7255

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: 1746
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: 437
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: 437
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: 437
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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