Jean Louis,

Use a guaranteed space storage class, and specify a unit count in the JCL -
e.g. UNIT=(,5). Specify a VOLSER list if you want the chunks in a particular
volume order.

This will allocate the primary extent requested on each of five volumes.
When you write to it sequentially the five primary extents will fill before
taking secondary extents on the fifth volume.

In the past I've used this technique for SAS V6 datasets, OSAM, and DSORG=PS
where striping was not appropriate or BSAM/QSAM was not used. 

Ron

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of DEBERT Jean-Louis
> Sent: Tuesday, November 06, 2012 5:15 AM
> To: [email protected]
> Subject: [IBM-MAIN] multi-volume SMS file allocation
> 
> Hello list,
> 
> Does anybody know if/how it is possible to force SMS to allocate extents
(the
> primary allocation then each secondary allocation) on different volumes
> (even if there is space enough on the first volume to put several extents
> there)  ?
> 
> This would be for an application that  writes the file sequentially (for
> performance) but then will read it direct access, using FEOV and POINT
(with
> as many DCB's as there are different volumes).
> You guessed it, the application uses BSAM READ/WRITE with (respectively)
> POINT/NOTE with TTR.
> 
> The multi-volume data set is one way to somewhat allow more space than
> TTR addressing allows (65,535 tracks on any volume) and for this purpose,
it is
> best to have (ideally) the largest possible allocation, but no more, on
each
> volume.
> The same would be true if using TTTR (although with a bigger addressable
> space per volume)
> 
> Any hints are welcome.
> 
> Thanks in advance.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
to
> [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to