Compress ESP Procedure library without Stopping ESP
search cancel

Compress ESP Procedure library without Stopping ESP

book

Article ID: 432075

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

We use a PDS library for ESP Procedures, and it's out of space. How to compress it without stopping ESP?

Environment

Component: ESP Workload Automation
Release: ALL

Resolution

Two possible solutions:

#1 If the library has been pre-allocated to ESP STC, then issue ESP commands PREALLOC with UNALLOC option or UNALLOC from page mode like below:
PREALLOC CYBER.PROC.LIB UNALLOC
OPER UNALLOC 'CYBER.PROC'

#2 Run IEBCOPY utility, see sample JCL below:

//COMPRESS EXEC    PGM=IEBCOPY
//A        DD  DSNAME=CYBER.PROC,DISP=OLD
//B        DD  DSNAME=CYBER.PROC,DISP=OLD
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
          COPY OUTDD=B,INDD=A

Additional Information

Compressing a Partitioned Data Set