Previous Topic: Idle Space Release ExamplesNext Topic: Example 2—Scan for Overallocated PO Data Sets and Release All Extra Space


Example 1—Scan for Overallocated PO Data Sets and Release Part of the Space

Scan all real online volumes and select all PO data sets that are 50 percent overallocated. Release a portion of the space such that only 20 percent of the data set is idle.

//jobname JOB (acct,info),etc.
//         EXEC DMS
//SYSIN     DD  *
SCAN REALVOLS
SELECT CRITERIA=(DSORG,EQ,PO,AND,PCTUSED,LT,50)
RELEASE PCTUSED=80