CNS DOCWEB Home
CNS Home Page
CNS Publications Page
Search All CNS Docs

DOCWEB Logo Entire document
Available as PDF

How to Regain Unused Space in a PDS


Table of Contents

JCL

The SQUEEZE procedure uses IBM's IEBCOPY utility, which compresses members to new contiguous locations so that space previously held by deleted members is combined into a contiguous space. This space can then be used to add new members to the PDS. Optionally, it can be released, in whole or in part, to other users of the disk volume. If you will not be adding new members or updating members, you should release unused space so that you do not get billed for space you do not need.

JCL

Use the following JCL to squeeze a partitioned data set and release the unused space:

Figure 10. JCL for Using the SQUEEZE Procedure

//jobname JOB (,,time,lines),'your name',CLASS=class /*ROUTE PRINT node.location
// EXEC SQUEEZE,DSN='data.set.name',RLSE=RLSE,ALLOC=CYL

In the example in Figure 1, data.set.name is the name of the cataloged data set to be compressed. RLSE=RLSE and ALLOC=CYL are optional parameters.

When RLSE=RLSE is specified on the EXEC statement, OS/390 allocation/de-allocation releases unused space after IEBCOPY has finished. Space thus released becomes available for other users.

Coding RLSE=RLSE and ALLOC=CYL requests that all unused cylinders be released except for unused space within the last cylinder. This unused space will be retained as part of the data set, which leaves some space for future growth.

CNS DOCWEB Home
CNS Home Page
CNS Publications Page
Search All CNS Docs