I guess this doesn't apply to br14
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK Allocating Space for a PDS z/OS V1R12.0 DFSMS Using Data Sets SC26-7410-10 To allocate a PDS, specify PDS in the DSNTYPE parameter and the number of directory blocks in the SPACE parameter, in either the JCL or the data class. You must specify the number of the directory blocks, or the allocation fails. If you do not specify a block size and the record format is fixed or variable, OPEN determines an optimum block size for you. Therefore, you do not need to perform calculations based on track length. When you allocate space for your data set, specify the average record length in kilobytes or megabytes by using the SPACE and AVGREC parameters, and have the system use the block size it calculated for your data set. If your data set is large, or if you expect to update it extensively, it might be best to allocate a large data set. A PDS cannot occupy more than 65 535 tracks and cannot extend beyond one volume. If your data set is small or is seldom changed, let the system calculate the space requirements to avoid wasted space or wasted time used for recreating the data set. VSAM, extended format, HFS, and PDSE data sets can occupy more than 65 535 tracks. Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' On Sep 19, 2013, at 7:48 PM, Gerhard Postpischil <[email protected]> wrote: > On 9/19/2013 6:05 PM, Paul Gilmartin wrote: >> By analogy, unless you create at least one record in a PS data set, >> what good is it? Therefore, DSN=NULLFILE is pointless. > > I suspect that there are some programmers who will disagree with that. At a > minimum, DSN=NULLFILE, unlike a plain DD DUMMY, can be used to carry more > JFCB information to a program (volsers, DCBs, etc.). I use this when a > program may allocate a file dynamically, and the DSORG and size are > determined during execution. > > And depending on your definition, an EOF is a record (it may have a non-zero > key length, thus carry information). > >> I have occasionally created empty PDSes (usually temporary) to use >> in overriding concatenations. If there are no members, it's silly to require >> that there be directory blocks. > > A number of programs, including IEBCOPY, will refuse to operate unless they > find a high-value entry. > > Gerhard Postpischil > Bradford, Vermont > > ---------------------------------------------------------------------- > 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
