Example 28: Allocate a new DASD data set using a system set block size and request space in a quantity of logical records
The following example assumes that Storage Management Subsystem is installed and active because of AVGREC. The system-determined block size does not require SMS.
Release overallocated space down to a track boundary when the data set is closed.
Known:
- The data set name: K9345P.REPORT2
- The logical record length: 133
- The record format: Fixed block ANSI
- The number of logical records: Primary quantity 5000, secondary quantity 500
alloc ds('k9345p.report2') new dsorg(ps) recfm(f,b,a) +
lrecl(133) avblock(133) avgrec(u) space(5000,500) release