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:

alloc ds('k9345p.report2') new dsorg(ps) recfm(f,b,a) +
lrecl(133) avblock(133) avgrec(u) space(5000,500) release